Skip to main content
PATCH
/
api
/
settings
/
channels
/
{id}
/
workflow
Assign workflow to channel
curl --request PATCH \
  --url https://api.agentixx.io/api/settings/channels/{id}/workflow \
  --header 'Content-Type: application/json' \
  --header 'x-tenant-id: <api-key>' \
  --cookie better-auth.session_token= \
  --data '
{
  "workflowId": "550e8400-e29b-41d4-a716-446655440000"
}
'
{
  "ok": true
}

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-tenant-id
string
header
required

Tenant/workspace UUID. Required on all /api/* endpoints.

Path Parameters

id
string<uuid>
required

Body

application/json

Assign a workflow to a channel

workflowId
string | null

Response

Workflow assigned

ok
boolean
required