Workflows

Get all workflows for the organization

GET
/api/workflows

Returns every Workflow in the caller organization, sorted by createdAt desc. Each workflow includes its node/edge canvas, viewport, enabled flag, creator metadata and folderId (null or absent = top level). folderId narrows the list to one folder; search matches the start of words in the name or description across every folder.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

folderId?string

root lists workflows outside any folder (including ones that predate folders); a folder id lists only that folder. Omit for every folder.

search?string

Every word must start a word of the name, or every word must start a word of the description (case- and accent-insensitive; camelCase and letter/digit parts count as words). Served by an index. Searches all folders.

Lengthlength <= 200

Response Body

application/json

application/json

curl -X GET "https://example.com/api/workflows"
{  "success": true,  "data": [    {      "_id": "64d2f9c5e8a1d4e001a0b1c2",      "name": "New Lead Welcome",      "description": "Greet new leads and assign them to a leasing agent.",      "enabled": true    }  ]}