Journeys
Guide contacts through timely, event-driven customer journeys. 12 endpoints in this resource.
List journeys
https://api.flownally.com/v1/journeysReturns the workspace's journeys, newest first.
Open as its own pageAuthorization
- journey:list
- owner
- admin
- agent
List journeys in the workspace.
Parameters
- Name
pageSize- Type
- query · integer
Values above 100 are reduced to 100; 0 or omitted uses the default (50).- Name
pageToken- Type
- query · string
Responses
- 200List of journeysapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- JourneysResponse
- Journey
- JourneyStatus
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
curl "https://api.flownally.com/v1/journeys" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"journeys": [
{
"id": "jrn_d7pjrnc16v39v3b6dsk0",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Post-purchase follow-up",
"status": "draft",
"createdAt": "2026-04-30T09:55:00Z",
"updatedAt": "2026-04-30T10:05:00Z",
"entryMode": "once"
}
],
"nextPageToken": "string",
"totalSize": 0
}Create journey
https://api.flownally.com/v1/journeysCreates a journey draft. Publish and activate it before contacts can enter.
Open as its own pageAuthorization
- owner
- admin
- agent
Create a journey in the workspace. A definition whose HTTP requests send workspace secrets also requires journey:use_secrets.
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- required
- Name
definition- Type
- WorkflowDefinition
- Name
triggerConfig- Type
- TriggerConfig
- Name
entryMode- Type
- EntryMode
Responses
- 201Journey createdapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- Journey
- JourneyStatus
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
- CreateJourneyRequest
curl -X POST "https://api.flownally.com/v1/journeys" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Post-purchase follow-up",
"entryMode": "once"
}'{
"id": "jrn_d7pjrnc16v39v3b6dsk0",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Post-purchase follow-up",
"status": "draft",
"createdAt": "2026-04-30T09:55:00Z",
"updatedAt": "2026-04-30T10:05:00Z",
"entryMode": "once"
}Get journey
https://api.flownally.com/v1/journeys/{id}Returns a journey with its draft, its status and, while it is active, the active version.
Open as its own pageAuthorization
- journey:read
- owner
- admin
- agent
Read a journey in the workspace.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.
Responses
- 200Journey detailsapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- Journey
- JourneyStatus
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
curl "https://api.flownally.com/v1/journeys/$JOURNEY_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "jrn_d7pjrnc16v39v3b6dsk0",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Post-purchase follow-up",
"status": "draft",
"createdAt": "2026-04-30T09:55:00Z",
"updatedAt": "2026-04-30T10:05:00Z",
"entryMode": "once"
}Update journey
https://api.flownally.com/v1/journeys/{id}Updates a journey's draft. A new name applies at once. Changes to definition,
triggerConfig and entryMode reach contacts only after you publish and activate the
journey again.
Authorization
- owner
- admin
- agent
Update a journey in the workspace. A definition whose HTTP requests send workspace secrets also requires journey:use_secrets.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- Name
definition- Type
- WorkflowDefinition
- Name
triggerConfig- Type
- TriggerConfig
- Name
entryMode- Type
- EntryMode
Responses
- 200Journey updatedapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- Journey
- JourneyStatus
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
- UpdateJourneyRequest
curl -X PATCH "https://api.flownally.com/v1/journeys/$JOURNEY_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "order_ready",
"definition": {
"nodes": [
{
"id": "string",
"type": "start",
"data": {
"label": "string",
"triggerConfig": {
"type": "contact_created",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"mediaTypes": [
"string"
],
"mediaSelection": "all",
"mediaIds": [
"string"
],
"conditions": {}
},
"entryMode": "once"
}
}
],
"edges": [
{}
]
},
"triggerConfig": {
"type": "contact_created",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"mediaTypes": [
"string"
],
"mediaSelection": "all",
"mediaIds": [
"string"
],
"conditions": {}
},
"entryMode": "once"
}'{
"id": "jrn_d7pjrnc16v39v3b6dsk0",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Post-purchase follow-up",
"status": "draft",
"createdAt": "2026-04-30T09:55:00Z",
"updatedAt": "2026-04-30T10:05:00Z",
"entryMode": "once"
}Delete journey
https://api.flownally.com/v1/journeys/{id}Deletes a journey. Pause an active journey first: deleting it fails with 422 and code
contacts_journey_cannot_delete_active.
Authorization
- journey:delete
- owner
- admin
- agent
Delete a journey in the workspace.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.
Responses
- 204Journey deleted
- defaultErrorapplication/json
Related schemas
curl -X DELETE "https://api.flownally.com/v1/journeys/$JOURNEY_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"Publish journey
https://api.flownally.com/v1/journeys/{id}:publishValidates the draft and saves it as a new read-only version. When the draft hasn't
changed since the latest version, returns that version instead of creating a copy.Publishing doesn't change what runs: activate the journey to use the new version. An
invalid draft fails with 400, and detail says what to fix.
Authorization
- owner
- admin
- agent
Publish a journey version. A draft whose HTTP requests send workspace secrets also requires journey:use_secrets.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.
Responses
- 200Version publishedapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
curl -X POST "https://api.flownally.com/v1/journeys/$JOURNEY_ID:publish" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "string",
"journeyId": "string",
"definition": {
"nodes": [
{
"id": "string",
"type": "start",
"data": {
"label": "string",
"triggerConfig": {
"type": "contact_created",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"mediaTypes": [
"string"
],
"mediaSelection": "all",
"mediaIds": [
"string"
],
"conditions": {}
},
"entryMode": "once"
}
}
],
"edges": [
{}
]
},
"triggerConfig": {
"type": "contact_created",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"mediaTypes": [
"string"
],
"mediaSelection": "all",
"mediaIds": [
"string"
],
"conditions": {}
},
"entryMode": "once",
"createdAt": "2026-04-27T00:00:00.000Z",
"firstActivatedAt": "2026-04-27T00:00:00.000Z",
"deactivatedAt": "2026-04-27T00:00:00.000Z"
}Activate journey
https://api.flownally.com/v1/journeys/{id}:activateMakes the latest published version active, so matching triggers start runs for contacts.
On an active journey, the latest version replaces the active one for new runs; runs
already in progress continue on their version.Fails with 422 and code contacts_journey_no_published_version until the journey is
published.
Authorization
- owner
- admin
- agent
Activate a journey. A version whose HTTP requests send workspace secrets also requires journey:use_secrets.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.
Responses
- 200Journey activatedapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- Journey
- JourneyStatus
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
curl -X POST "https://api.flownally.com/v1/journeys/$JOURNEY_ID:activate" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "jrn_d7pjrnc16v39v3b6dsk0",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Post-purchase follow-up",
"status": "draft",
"createdAt": "2026-04-30T09:55:00Z",
"updatedAt": "2026-04-30T10:05:00Z",
"entryMode": "once"
}Pause journey
https://api.flownally.com/v1/journeys/{id}:pausePauses an active journey: no new runs start, and runs already in progress continue to the
end. Activate the journey again to resume.Fails with 422 and code contacts_journey_not_active when the journey isn't active.
Authorization
- journey:activate
- owner
- admin
- agent
Pause a journey.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.
Responses
- 200Journey pausedapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- Journey
- JourneyStatus
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
curl -X POST "https://api.flownally.com/v1/journeys/$JOURNEY_ID:pause" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "jrn_d7pjrnc16v39v3b6dsk0",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Post-purchase follow-up",
"status": "draft",
"createdAt": "2026-04-30T09:55:00Z",
"updatedAt": "2026-04-30T10:05:00Z",
"entryMode": "once"
}List journey versions
https://api.flownally.com/v1/journeys/{id}/versionsReturns a journey's published versions, newest first.
Open as its own pageAuthorization
- journey:read
- owner
- admin
- agent
List journey versions.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.- Name
pageSize- Type
- query · integer
Values above 100 are reduced to 100; 0 or omitted uses the default (50).- Name
pageToken- Type
- query · string
Responses
- 200List of versionsapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
- JourneyVersionsResponse
curl "https://api.flownally.com/v1/journeys/$JOURNEY_ID/versions" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"journeyVersions": [
{
"id": "string",
"journeyId": "string",
"definition": {
"nodes": [
{
"id": "string",
"type": "start",
"data": {
"label": "string",
"triggerConfig": {
"type": "contact_created",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"mediaTypes": [
"string"
],
"mediaSelection": "all",
"mediaIds": [
"string"
],
"conditions": {}
},
"entryMode": "once"
}
}
],
"edges": [
{}
]
},
"triggerConfig": {
"type": "contact_created",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"mediaTypes": [
"string"
],
"mediaSelection": "all",
"mediaIds": [
"string"
],
"conditions": {}
},
"entryMode": "once",
"createdAt": "2026-04-27T00:00:00.000Z",
"firstActivatedAt": "2026-04-27T00:00:00.000Z",
"deactivatedAt": "2026-04-27T00:00:00.000Z"
}
],
"nextPageToken": "string",
"totalSize": 0
}Get journey version
https://api.flownally.com/v1/journeys/versions/{versionId}Returns a published journey version.
Open as its own pageAuthorization
- journey:read
- owner
- admin
- agent
Read a journey version.
Parameters
- Name
versionId- Type
- path · string
- required
Journey version ID.
Responses
- 200Version detailsapplication/json
- defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- WorkflowDefinition
- WorkflowNode
- StartWorkflowNode
- StartNodeData
- TriggerConfig
- EntryMode
- HTTPRequestWorkflowNode
- HTTPRequestNodeData
- SplitByMessageStatusWorkflowNode
- SplitByMessageStatusNodeData
- JourneyMessageStatus
- WaitForMessageStatusWorkflowNode
- WaitForMessageStatusNodeData
- GenericWorkflowNode
- GenericNodeData
- WorkflowEdge
- WorkflowEdge2
- JourneyVersion
curl "https://api.flownally.com/v1/journeys/versions/$VERSION_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "string",
"journeyId": "string",
"definition": {
"nodes": [
{
"id": "string",
"type": "start",
"data": {
"label": "string",
"triggerConfig": {
"type": "contact_created",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"mediaTypes": [
"string"
],
"mediaSelection": "all",
"mediaIds": [
"string"
],
"conditions": {}
},
"entryMode": "once"
}
}
],
"edges": [
{}
]
},
"triggerConfig": {
"type": "contact_created",
"inboxId": "ibx_01HV8Y4QH7C8H1K5K0C8A2B9E4",
"mediaTypes": [
"string"
],
"mediaSelection": "all",
"mediaIds": [
"string"
],
"conditions": {}
},
"entryMode": "once",
"createdAt": "2026-04-27T00:00:00.000Z",
"firstActivatedAt": "2026-04-27T00:00:00.000Z",
"deactivatedAt": "2026-04-27T00:00:00.000Z"
}Get journey node counts
https://api.flownally.com/v1/journeys/{id}/statsCounts where a journey's runs went: how many times runs reached each node, are
on it now, completed or failed on it, and left it by each edge. Every count
except runningNow covers runs that entered in the requested range, including
runs of contacts deleted since.A query that takes too long fails with 504 and code
contacts_journey_query_too_slow; choose a shorter range.
Authorization
- journey:read
- owner
- admin
- agent
Read where a journey's runs are and which edges they took.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.- Name
versionId- Type
- query · string
Count only runs of this version. Omit to count every version.- Name
enteredFrom- Type
- query · string
- required
Start of the entry range, inclusive.- Name
enteredTo- Type
- query · string
- required
End of the entry range, exclusive. At most 366 days afterenteredFrom.
Responses
- 200Journey node countsapplication/json
- defaultErrorapplication/json
Related schemas
curl -G "https://api.flownally.com/v1/journeys/$JOURNEY_ID/stats" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
--data-urlencode "enteredFrom=$ENTERED_FROM" \
--data-urlencode "enteredTo=$ENTERED_TO"{
"runningNow": 0,
"entered": {
"runs": 0,
"contacts": 0,
"running": 0,
"completed": 0,
"failed": 0,
"untracked": 0
},
"nodes": [
{
"nodeId": "string",
"reached": 0,
"running": 0,
"completed": 0,
"failed": 0,
"edges": [
{
"handle": "string",
"nextNodeId": "string",
"count": 0
}
]
}
]
}List journey runs
https://api.flownally.com/v1/journeys/{id}/runsReturns a journey's runs of contacts that still exist, newest first.A query that takes too long fails with 504 and code
contacts_journey_query_too_slow; narrow it with enteredFrom and enteredTo.
Authorization
- contact:list
- journey:read
- owner
- admin
- agent
List a journey's runs with their contacts.
Parameters
- Name
id- Type
- path · string
- required
Journey ID.- Name
versionId- Type
- query · string
Only runs of this version.- Name
currentNodeId- Type
- query · string
Only runs on this node now, or that completed or failed on it.- Name
status- Type
- query · JourneyRunStatus
Only runs with this status.- Name
enteredFrom- Type
- query · string
Only runs that entered at or after this time.- Name
enteredTo- Type
- query · string
Only runs that entered before this time. Must be afterenteredFrom.- Name
pageSize- Type
- query · integer
Values above 100 are reduced to 100; 0 or omitted uses the default (50).- Name
pageToken- Type
- query · string
Responses
- 200Journey runsapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/journeys/$JOURNEY_ID/runs" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"journeyRuns": [
{
"id": "string",
"contact": {
"id": "string",
"name": "order_ready",
"phone": "+48123456789"
},
"versionId": "string",
"status": "running",
"currentNodeId": "string",
"currentNodeSince": "string",
"enteredAt": "2026-04-27T00:00:00.000Z"
}
],
"nextPageToken": "string"
}