Skip to main content
POST
/
api
/
v1
/
automation
curl -X POST "https://your-collabase.ch/api/v1/automation" \
  -H "Authorization: Bearer cba_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Sprint Report",
    "triggerType": "SCHEDULE",
    "triggerConfig": { "cron": "0 9 * * MON" }
  }'
{
  "id": "auto-xyz789",
  "name": "Sprint Report",
  "isEnabled": false,
  "triggerType": "SCHEDULE",
  "createdAt": "2026-04-01T08:00:00.000Z"
}
Creates a new automation owned by the authenticated user.

Request body

name
string
required
Display name. 1–200 characters.
description
string
Optional description.
triggerType
string
required
COLLABASE_EVENT | WEBHOOK | SCHEDULE | MANUAL
triggerConfig
object
Trigger-specific configuration. Defaults to {}.
flowGraph
object
Initial node graph. Defaults to {}.
spaceId
string
Associate with a space ID.

Response

id
string
Automation ID.
name
string
Automation name.
isEnabled
boolean
Always false for new automations.
curl -X POST "https://your-collabase.ch/api/v1/automation" \
  -H "Authorization: Bearer cba_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Sprint Report",
    "triggerType": "SCHEDULE",
    "triggerConfig": { "cron": "0 9 * * MON" }
  }'
{
  "id": "auto-xyz789",
  "name": "Sprint Report",
  "isEnabled": false,
  "triggerType": "SCHEDULE",
  "createdAt": "2026-04-01T08:00:00.000Z"
}