
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "didit",
"path": "/v3/phone/check",
"method": "POST",
"body": {
"phone_number": "",
"code": ""
}
}'
{
"success": true,
"data": {
"phone": null,
"status": "{status}",
"message": "{message}",
"metadata": null,
"created_at": "{created_at}",
"request_id": "{request_id}",
"vendor_data": null
}
}
Example values, built from the documented fields.
Free
Calls cost nothing.
About this endpoint
Verify a one-time code sent to a phone number. Maximum of three verification attempts per code.
Body parameters
phone_numberrequiredstringPhone number in E.164 format (e.g. +14155552671)coderequiredstringVerification code (4-8 characters)duplicated_phone_number_actionstringAction for duplicated numbers: NO_ACTION (default) or DECLINEdisposable_number_actionstringAction for disposable numbers: NO_ACTION (default) or DECLINEvoip_number_actionstringAction for VoIP numbers: NO_ACTION (default) or DECLINEResponse types
statusstringmessagestringcreated_atstringrequest_idstring