Skip to Content
Developers
Routing

One call flow, with its draft

Needs the routing:read scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/account/call-flows/{id}

Authorization

key
headerAuthorizationBearer <traki_account_…>

Path Parameters

id*string
Formatuuid

Response Body

Success

application/json
  1. response
id*string
Formatuuid
code*string
name*string
description*string|null
campaignId*|null
status*string
publishedVersion*|null
publishedAt*string|null
latestVersion*integer
Range-9007199254740991 <= value <= 9007199254740991
draftRevision*integer
Range-9007199254740991 <= value <= 9007199254740991
version*string
createdAt*string
updatedAt*string
draft*

The draft document: the same JSON the portal’s flow builder edits (schema 1).

draftChanged*boolean

Whether the draft differs from the published version.

issues*array<>
Example Request
curl 'https://api.traki.io/v1/account/call-flows/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "code": "string",  "name": "string",  "description": "string",  "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",  "status": "string",  "publishedVersion": -9007199254740991,  "publishedAt": "string",  "latestVersion": -9007199254740991,  "draftRevision": -9007199254740991,  "version": "string",  "createdAt": "string",  "updatedAt": "string",  "draft": {    "property1": null,    "property2": null  },  "draftChanged": true,  "issues": [    {      "code": "string",      "severity": "string",      "message": "string",      "nodeId": "string"    }  ]}