- API Reference
- endpoint
- beta
Beta Triggers
Beta Triggers
GET /v1/triggers
List Triggers
List Triggers
Parameters
handler
"workflows" | "agents" | "spaces"queryFilter by handler type
primitive_id
string | nullqueryFilter by primitive ID (workflow, agent, or app)
event_source_id
string | nullqueryFilter by event source ID (webhook id)
Responses
Successful Response
Trigger
TriggerAction
primitive_id
string* requiredtype
"start_workflow" | "build_app" | "deploy_app" | "start_agent_session"* requiredcreator_id
string* requiredcustomer_id
string* requiredWebhook
created_at
date-time* requiredcreator_id
string* requireddescription
string | nullevent_id_pattern
string | nullevent_type_path
string | nullevent_type_pattern
string | nullexpires_at
date-time | null* requiredhttp_method
string* requiredid
string* requiredname
string* requiredorganization_id
string* requiredowner_type
"workspace" | "user"* requiredprovider
"slack" | "github" | "notion" | "lucca" | "linear" | "microsoft" | "ashby" | "whatsapp" | "custom"* requiredsignature_encoding
"hex" | "base64"* requiredsignature_extractor_regex
string | null* requiredsignature_hash_algorithm
"sha256" | "sha1"* requiredsignature_header_name
string | null* requiredsignature_payload_pattern
string | null* requiredsuccess_status_code
integer | null* requiredtimestamp_extractor_regex
string | null* requiredtimestamp_pattern
string | nullupdated_at
date-time* requiredurl
string* requiredurl_verification_token
string | nullToken the provider echoes back when verifying the URL (WhatsApp: the Verify token)
url_verified
boolean | null* requiredvalidity_period_second
integer | null* requiredworkspace_id
string* requiredfilters
string | null* requiredhandler
"workflows" | "agents" | "spaces"* requiredid
string* requiredorganization_id
string* requiredowner_type
"workspace" | "user"* requiredtitle
string* requiredworkspace_id
string* requiredPOST /v1/triggers
Create Trigger
Create Trigger
Request Example
{
"action": {
"primitive_id": "ipsum eiusmod",
"type": "start_workflow"
},
"event_source_id": "consequat do",
"handler": "workflows",
"owner_type": "workspace",
"title": "reprehenderit ut dolore"
}
Request Body
CreateTriggerAction
primitive_id
string* requiredID of the target primitive (workflow, agent, or app)
type
"start_workflow" | "build_app" | "deploy_app" | "start_agent_session"* requiredevent_source_id
string* requiredID of the event source that fires this trigger
filters
string | nulljmespath expression to filter events, e.g. event_type == 'push' && repository.name == 'dashboard'
handler
"workflows" | "agents" | "spaces"* requiredowner_type
"workspace" | "user"* requiredtitle
stringMin Length: 1Max Length: 256* requiredHuman-readable title of the trigger
Server-Side Events
Successful Response
TriggerAction
primitive_id
string* requiredtype
"start_workflow" | "build_app" | "deploy_app" | "start_agent_session"* requiredcreator_id
string* requiredcustomer_id
string* requiredWebhook
created_at
date-time* requiredcreator_id
string* requireddescription
string | nullevent_id_pattern
string | nullevent_type_path
string | nullevent_type_pattern
string | nullexpires_at
date-time | null* requiredhttp_method
string* requiredid
string* requiredname
string* requiredorganization_id
string* requiredowner_type
"workspace" | "user"* requiredprovider
"slack" | "github" | "notion" | "lucca" | "linear" | "microsoft" | "ashby" | "whatsapp" | "custom"* requiredsignature_encoding
"hex" | "base64"* requiredsignature_extractor_regex
string | null* requiredsignature_hash_algorithm
"sha256" | "sha1"* requiredsignature_header_name
string | null* requiredsignature_payload_pattern
string | null* requiredsuccess_status_code
integer | null* requiredtimestamp_extractor_regex
string | null* requiredtimestamp_pattern
string | nullupdated_at
date-time* requiredurl
string* requiredurl_verification_token
string | nullToken the provider echoes back when verifying the URL (WhatsApp: the Verify token)
url_verified
boolean | null* requiredvalidity_period_second
integer | null* requiredworkspace_id
string* requiredfilters
string | null* requiredhandler
"workflows" | "agents" | "spaces"* requiredid
string* requiredorganization_id
string* requiredowner_type
"workspace" | "user"* requiredtitle
string* requiredworkspace_id
string* requiredGET /v1/triggers/{trigger_id}
Get Trigger
Get Trigger
Parameters
trigger_id
stringpath* requiredResponses
Successful Response
TriggerAction
primitive_id
string* requiredtype
"start_workflow" | "build_app" | "deploy_app" | "start_agent_session"* requiredcreator_id
string* requiredcustomer_id
string* requiredWebhook
created_at
date-time* requiredcreator_id
string* requireddescription
string | nullevent_id_pattern
string | nullevent_type_path
string | nullevent_type_pattern
string | nullexpires_at
date-time | null* requiredhttp_method
string* requiredid
string* requiredname
string* requiredorganization_id
string* requiredowner_type
"workspace" | "user"* requiredprovider
"slack" | "github" | "notion" | "lucca" | "linear" | "microsoft" | "ashby" | "whatsapp" | "custom"* requiredsignature_encoding
"hex" | "base64"* requiredsignature_extractor_regex
string | null* requiredsignature_hash_algorithm
"sha256" | "sha1"* requiredsignature_header_name
string | null* requiredsignature_payload_pattern
string | null* requiredsuccess_status_code
integer | null* requiredtimestamp_extractor_regex
string | null* requiredtimestamp_pattern
string | nullupdated_at
date-time* requiredurl
string* requiredurl_verification_token
string | nullToken the provider echoes back when verifying the URL (WhatsApp: the Verify token)
url_verified
boolean | null* requiredvalidity_period_second
integer | null* requiredworkspace_id
string* requiredfilters
string | null* requiredhandler
"workflows" | "agents" | "spaces"* requiredid
string* requiredorganization_id
string* requiredowner_type
"workspace" | "user"* requiredtitle
string* requiredworkspace_id
string* requiredDELETE /v1/triggers/{trigger_id}
Delete Trigger
Delete Trigger
Parameters
trigger_id
stringpath* requiredGET /v1/triggers/{trigger_id}/events
List Trigger Events
List Trigger Events
Parameters
trigger_id
stringpath* requiredlimit
integerqueryMaximum number of events to return