cURL
curl --request POST \ --url https://api.cal.com/v2/teams/{teamId}/verified-resources/phones/verification-code/verify \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "phone": "+37255556666", "code": "1ABG2C" } '
{ "status": "success", "data": { "id": 789, "phoneNumber": "+37255556666", "teamId": 89, "userId": 45 } }
Use code to verify a phone number
value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token
Bearer <token>
<token>
phone number to verify.
"+37255556666"
verification code sent to the phone number to verify
"1ABG2C"
success
error
"success"
Show child attributes
Was this page helpful?