POST
/
v2
/
verified-resources
/
emails
/
verification-code
/
verify
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": 123,
    "name": "<string>",
    "isManaged": true,
    "workingHours": [
      {
        "days": [
          123
        ],
        "startTime": 123,
        "endTime": 123,
        "userId": 123
      }
    ],
    "schedule": [
      {
        "id": 123,
        "userId": 123,
        "eventTypeId": 123,
        "days": [
          123
        ],
        "startTime": "2023-11-07T05:31:56Z",
        "endTime": "2023-11-07T05:31:56Z",
        "date": "2023-11-07T05:31:56Z",
        "scheduleId": 123
      }
    ],
    "availability": [
      [
        "<any>"
      ]
    ],
    "timeZone": "<string>",
    "dateOverrides": [
      {}
    ],
    "isDefault": true,
    "isLastSchedule": true,
    "readOnly": true
  }
}

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_ or managed user 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