Skip to main content
Retrieve a paginated list of workflows registered for your organization.

Endpoint

GET /v1/accounts/:accountId/workflows

Authentication

Bearer token required.

Query Parameters

limit
number
default:"50"
Number of workflows to return. Maximum 100.
offset
number
default:"0"
Number of workflows to skip.
Case-insensitive partial match on workflow name.

Response

workflows
WorkflowRegistration[]
Array of workflow objects.
total
number
Total number of workflows.
limit
number
The limit used.
offset
number
The offset used.

Example

curl "https://api.collab-kit.com/v1/accounts/${ACCOUNT_ID}/workflows?limit=10" \
  -H "Authorization: Bearer ${TOKEN}"
Response
{
  "type": "response",
  "success": true,
  "description": "Workflows retrieved",
  "data": {
    "workflows": [
      {
        "id": "wf_abc123",
        "organization_id": "a1b2c3d4-...",
        "name": "Welcome message",
        "code": "export default async function(event, { store, room }) { ... }",
        "events": ["participant.joined"],
        "room_id": null,
        "enabled": true,
        "created_at": "2026-05-29T10:00:00.000Z",
        "updated_at": "2026-05-29T10:00:00.000Z"
      }
    ],
    "total": 1,
    "limit": 10,
    "offset": 0
  },
  "error": null
}