Teams / Event Types
Create a phone call
Getting Started
Platform / Cal Provider
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
Orgs / Delegation Credentials
Orgs / Event Types
Orgs / Memberships
Orgs / Orgs
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Bookings
Orgs / Teams / Memberships
Orgs / Teams / Routing forms / Responses
Orgs / Teams / Schedules
Orgs / Users / OOO
Orgs / Webhooks
Api Keys
Bookings
- GETGet all bookings
- POSTCreate a booking
- GETGet a booking
- POSTReschedule a booking
- POSTCancel a booking
- POSTMark a booking absence
- POSTAutomatically reassign booking to a new host
- POSTReassign a booking to a specific user
- POSTConfirm booking that requires a confirmation
- POSTDecline booking that requires a confirmation
- GETGet 'Add to Calendar' links for a booking
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
OAuth Clients
Schedules
Selected Calendars
Slots
Stripe
Teams / Event Types
Teams / Memberships
Timezones
Teams / Event Types
Create a phone call
POST
/
v2
/
teams
/
{teamId}
/
event-types
/
{eventTypeId}
/
create-phone-call
curl --request POST \
--url https://api.cal.com/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call \
--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>"
}
}
Body
application/json
Your phone number
Number to call
CAL API Key
Enabled status
Template type
Available options:
CHECK_IN_APPOINTMENT
, CUSTOM_TEMPLATE
Scheduler name
Guest name
Guest email
Guest company
Begin message
General prompt
Was this page helpful?
curl --request POST \
--url https://api.cal.com/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call \
--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>"
}
}