Skip to main content
POST
/
v2
/
teams
/
{teamId}
/
verified-resources
/
phones
/
verification-code
/
verify
Verify a phone number for an org team
curl --request POST \
  --url https://api.cal.com/v2/teams/{teamId}/verified-resources/phones/verification-code/verify \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "+37255556666",
  "code": "1ABG2C"
}
'
{
  "status": "success",
  "data": {
    "id": 789,
    "phoneNumber": "+37255556666",
    "teamId": 89,
    "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

Path Parameters

teamId
number
required

Body

application/json
phone
string
required

phone number to verify.

Example:

"+37255556666"

code
string
required

verification code sent to the phone number to verify

Example:

"1ABG2C"

Response

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

"success"

data
object
required