Skip to main content
PATCH
Update organization routing form team workflow

Headers

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
number
required
workflowId
number
required
orgId
number
required

Body

application/json
name
string

Name of the workflow

Example:

"Rounting-form Test Workflow"

trigger
object

Trigger configuration for the routing-form workflow, allowed triggers are formSubmitted,formSubmittedNoEvent

steps
object[]

Steps to execute as part of the routing-form workflow, allowed steps are email_attendee,email_address,sms_attendee,sms_number

Minimum array length: 1
activation
object

Response

200 - application/json
status
enum<string>
required

Indicates the status of the response

Available options:
success,
error
Example:

"success"

data
object[]
required

workflow