Routing
One call flow, with its draft
Needs the routing:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidSuccess
application/json- response
id*stringFormat
uuidcode*stringname*stringdescription*string|nullcampaignId*|nullstatus*stringpublishedVersion*|nullpublishedAt*string|nulllatestVersion*integerRange
-9007199254740991 <= value <= 9007199254740991draftRevision*integerRange
-9007199254740991 <= value <= 9007199254740991version*stringcreatedAt*stringupdatedAt*stringdraft*The draft document: the same JSON the portal’s flow builder edits (schema 1).
draftChanged*booleanWhether the draft differs from the published version.
issues*array<>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" } ]}List call flows GET
Previous Page
Change a call flow’s name, description or draft PATCH
Saves what is sent. `draft` replaces the draft document whole (it is not published until POST /call-flows/{id}/publish); its issues come back with the flow and do not block the save. With `ifVersion`, a change based on an older version is refused (409 version_conflict). Archived flows cannot be changed (422 flow_archived).