Skip to main content
POST
Create organization team workflow for event-types

Headers

cal-api-version
string
required

Must be set to 2026-09-22 to use this version of the workflow endpoints.

Example:

"2026-09-22"

Authorization
string

For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_

x-cal-secret-key
string

For platform customers - OAuth client secret key

x-cal-client-id
string

For platform customers - OAuth client ID

Path Parameters

teamId
required

The team's uuid (preferred), its short-uuid (Flickr Base58) form, or its numeric id.

orgId
number
required

Body

application/json
name
string
required

Name of the workflow

Example:

"Platform Test Workflow"

activation
object
required

Activation settings for the workflow

trigger
Before Event · object
required

Trigger configuration for the event-type workflow, allowed triggers are beforeEvent,eventCancelled,newEvent,afterEvent,rescheduleEvent,afterHostsCalVideoNoShow,afterGuestsCalVideoNoShow,bookingRejected,bookingRequested,bookingPaymentInitiated,bookingPaid,bookingNoShowUpdated

steps
(Paths · object | Filter · object | Email Address · object | Email Attendee · object | Email Host · object | WhatsApp Attendee · object | WhatsApp Number · object | SMS Number · object | SMS Attendee · object | Webhook · object)[]
required

Steps to execute as part of the event-type workflow, allowed steps are email_host,email_attendee,email_address,sms_attendee,sms_number,whatsapp_attendee,whatsapp_number,cal_ai_phone_call,paths,filter

Minimum array length: 1

Response

201 - application/json
status
enum<string>
required

Indicates the status of the response

Available options:
success,
error
Example:

"success"

data
object
required