Skip to main content
POST
/
v2
/
verified-resources
/
emails
/
verification-code
/
verify
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
  }
}

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_, managed user access token, or OAuth access token

Body

application/json
email
string
required

Email to verify.

code
string
required

verification code sent to the email to verify

Example:

"1ABG2C"

Response

200 - application/json
status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object
required