Workflows
Create Workflow
Create a private workflow scoped to a linked account.
POST
Create a workflow scoped to a linked account. If you don’t supply
Option 2 — Session token
associated_application or slug, the workflow is attached to the org’s default custom application. The new workflow starts as an unpublished draft with a single start node — build it out, then publish it.
Because this call authenticates as a linked account (API key +
linked_account_id, or a session token), it creates a private workflow — one that belongs to that specific linked account. Public workflows are org-level and tied to application slugs; they are not created through this endpoint.Authentication
This endpoint is scoped to a linked account, so it accepts either authentication method. Option 1 — API keyYour Refold API key.
The linked account to scope the workflow to.
Session token. Format:
Bearer YOUR_SESSION_TOKENBody Parameters
Workflow name.
Application slug to associate. Defaults to the org’s default custom app.
Application ID to associate (alternative to
slug).Response
- 200 OK
The created workflow.