List workflows
Your workflows, oldest first, one cursor page at a time. Use it to find a workflow id. Pass back `next_cursor` until it is `null`.
Workflow builder. Included from the Jump Starter plan. See plans.
user_idintegerReseller keys only: the id of one of your direct client users. The call then acts as that client, on that client's agents, numbers, campaigns and balance. Calls, sessions and bulk campaigns spend that client's balance and concurrency. Omit it to act on your own account. An empty value, 0, false or your own user id also means your own account. Any other value that is not a positive integer id is refused with 400 invalid_request. A key that is not a reseller's gets 403 when it names someone else. A user who is not your direct client gets 404.
limitintegerRows per page.
cursorstringThe next_cursor from the previous page. Omit it on the first request. Pass it back unchanged.
curl -X GET 'https://backend.omnidim.io/api/v1/workflows?limit=20' \ -H 'Authorization: Bearer YOUR_API_KEY'
{ "data": [ { "id": 0, "name": "string", "status": "draft", "updated_at": "string" } ], "has_more": false, "next_cursor": "string" }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
user_id?integerReseller keys only: the id of one of your direct client users. The
call then acts as that client, on that client's agents, numbers,
campaigns and balance. Calls, sessions and bulk campaigns spend that
client's balance and concurrency. Omit it to act on your own account.
An empty value, 0, false or your own user id also means your own
account. Any other value that is not a positive integer id is
refused with 400 invalid_request. A key that is not a reseller's
gets 403 when it names someone else. A user who is not your
direct client gets 404.
limit?integerRows per page.
1 <= value <= 10020cursor?stringThe next_cursor from the previous page. Omit it on the first request. Pass it back unchanged.
Response body
application/jsonOne page of workflows.
application/jsondata?has_more?booleannext_cursor?stringList choices for a node field
The choices for one `ref` field of a node type, such as the phone numbers, agents or integrations in your account. Call it for every `ref` field and never guess an id. If it returns `400 no_options`, the field is not chosen from a list, so ask the user for the value.
Create a workflow
Create a workflow with a draft. Without `graph`, the draft holds one `trigger` node, ready for `editWorkflow` ops. Pass `graph` only to start from a complete graph. The response carries the `revision` you need to edit.
