curl --request POST \
--url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"phone": "+372 5555 6666"
}'
{
"status": "success"
}
Sends a verification code to the phone number
curl --request POST \
--url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"phone": "+372 5555 6666"
}'
{
"status": "success"
}
value must be Bearer <token>
where <token>
is api key prefixed with cal_ or managed user access token
The response is of type object
.
Was this page helpful?