POST
/
verification
Verification
curl --request POST \
  --url https://sandbox-umbrella-api.azurewebsites.net/api/services/verification \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "phoneNumber": "11234567890",
  "method": "sms",
  "email": "user@example.com",
  "externalId": "CustomExternalID1234",
  "originatingIp": "203.0.113.45",
  "consent": {
    "method": 1,
    "timestamp": "2024-01-15T10:30:00Z"
  }
}'
{
  "reference_id": "VER123456789ABCDEF",
  "sub_resource": "sms",
  "status": {
    "code": 300,
    "description": "Verification initiated successfully",
    "updatedOn": "2024/01/15T10:30:00.123456Z"
  },
  "errors": [
    "<string>"
  ],
  "verification": {
    "method": "sms",
    "phoneNumber": "11234567890",
    "email": "user@example.com",
    "sent": true,
    "expiresAt": "2024-01-15T10:35:00Z",
    "retryCount": 0,
    "maxRetries": 3
  }
}
For a usage description of the Verification Service, please refer to the Verification page.

Endpoint

POST /verification

Swagger

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successfully initiated verification process.

The response is of type object.