curl --request POST \
--url https://{defaultHost}/v1/verify/{app_id}/verifications/{id}/verify \
--header 'Authorization: Bearer <token>' \
--header 'X-Authorization: <api-key>'{
"verification": {
"id": "<string>",
"app_id": "<string>",
"app_user_id": "<string>",
"to_app_user_id": "<string>",
"status": "pending",
"channel": "sms",
"reason": "<string>",
"timeout": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"identifier": "<string>",
"recipient": {
"id": "<string>",
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
}
}
}Verify a verification request with the provided code or token
curl --request POST \
--url https://{defaultHost}/v1/verify/{app_id}/verifications/{id}/verify \
--header 'Authorization: Bearer <token>' \
--header 'X-Authorization: <api-key>'{
"verification": {
"id": "<string>",
"app_id": "<string>",
"app_user_id": "<string>",
"to_app_user_id": "<string>",
"status": "pending",
"channel": "sms",
"reason": "<string>",
"timeout": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"identifier": "<string>",
"recipient": {
"id": "<string>",
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
}
}
}Was this page helpful?