Skip to main content

Creating a Verification Service

Register a new verification service for the current user. The verification service will be notified of user events at its notification URL (set separately).

  • The notification URL is managed via the NotificationURL model and must be set for the user to receive event notifications.
  • The response contains the ID of the created verification service.

Endpoint

POST /verification/verification/services

Example Request

curl -X POST "https://api.opteverything.com/verification/verification/services" \
-H "Authorization: Bearer <YOUR_TOKEN>"

Responses

Success (201 Created)

Status Code: 201 Created

{
"id": 1
}
FieldTypeDescription
idintegerUnique identifier for the newly created verification service

Error Responses

  • 400 Bad Request: Error creating verification service (e.g., one already exists for the user).
  • 401 Unauthorized: If the user is not authenticated.