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
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
}
}value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token
Email to verify.
verification code sent to the email to verify
"1ABG2C"
Was this page helpful?