curl --request POST \
--url https://api.cal.com/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"yourPhoneNumber": "<string>",
"numberToCall": "<string>",
"calApiKey": "<string>",
"enabled": true,
"templateType": "CUSTOM_TEMPLATE",
"schedulerName": "<string>",
"guestName": "<string>",
"guestEmail": "<string>",
"guestCompany": "<string>",
"beginMessage": "<string>",
"generalPrompt": "<string>"
}
'{
"status": "success",
"data": {
"callId": "<string>",
"agentId": "<string>"
}
}curl --request POST \
--url https://api.cal.com/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"yourPhoneNumber": "<string>",
"numberToCall": "<string>",
"calApiKey": "<string>",
"enabled": true,
"templateType": "CUSTOM_TEMPLATE",
"schedulerName": "<string>",
"guestName": "<string>",
"guestEmail": "<string>",
"guestCompany": "<string>",
"beginMessage": "<string>",
"generalPrompt": "<string>"
}
'{
"status": "success",
"data": {
"callId": "<string>",
"agentId": "<string>"
}
}value must be Bearer <token> where <token> is api key prefixed with cal_
Your phone number
Number to call
CAL API Key
Enabled status
Template type
CHECK_IN_APPOINTMENT, CUSTOM_TEMPLATE Scheduler name
Guest name
Guest email
Guest company
Begin message
General prompt
Was this page helpful?