Verified Resources

Verify an email

Use code to verify an email

post/v2/verified-resources/emails/verification-code/verify

Headers

Authorizationstring required

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

Request body

emailstring required

Email to verify.

codestring required

verification code sent to the email to verify

Example request

{
  "email": "example@acme.com",
  "code": "1ABG2C"
}

Response

status'success' | 'error' required

Example response

{
  "status": "success",
  "data": {
    "id": 789,
    "email": "user@example.com",
    "userId": 45
  }
}

Changes

Changed in 2 of the 50 revisions of this API.11112

  • v2ba131b4bbebb912See the full diff
    • removed the required property data/availability from the response with the 200 status

      response-required-property-removed

    • removed the required property data/isDefault from the response with the 200 status

      response-required-property-removed

    • removed the required property data/isLastSchedule from the response with the 200 status

      response-required-property-removed

    • removed the required property data/isManaged from the response with the 200 status

      response-required-property-removed

    • removed the required property data/name from the response with the 200 status

      response-required-property-removed

    • removed the required property data/readOnly from the response with the 200 status

      response-required-property-removed

    • removed the required property data/schedule from the response with the 200 status

      response-required-property-removed

    • removed the required property data/timeZone from the response with the 200 status

      response-required-property-removed

    • removed the required property data/workingHours from the response with the 200 status

      response-required-property-removed

    • removed the optional property data/dateOverrides from the response with the 200 status

      response-optional-property-removed

    • added the required property data/email to the response with the 200 status

      response-required-property-added

    • added the required property data/userId to the response with the 200 status

      response-required-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • v2daa3e48bc03a210See the full diff
    • removed the required property data/email from the response with the 200 status

      response-required-property-removed

    • removed the required property data/userId from the response with the 200 status

      response-required-property-removed

    • added the optional property data/dateOverrides to the response with the 200 status

      response-optional-property-added

    • added the required property data/availability to the response with the 200 status

      response-required-property-added

    • added the required property data/isDefault to the response with the 200 status

      response-required-property-added

    • added the required property data/isLastSchedule to the response with the 200 status

      response-required-property-added

    • added the required property data/isManaged to the response with the 200 status

      response-required-property-added

    • added the required property data/name to the response with the 200 status

      response-required-property-added

    • added the required property data/readOnly to the response with the 200 status

      response-required-property-added

    • added the required property data/schedule to the response with the 200 status

      response-required-property-added

    • added the required property data/timeZone to the response with the 200 status

      response-required-property-added

    • added the required property data/workingHours to the response with the 200 status

      response-required-property-added

    This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog