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