Skip to main content
GET
Get a call flow version

Authorizations

Authorization
string
header
required

HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).

Path Parameters

numberId
string
required

The number id, as List and search numbers returns it.

Example:

"600"

versionId
string
required

A version id from List call flow versions, or one of three names: live (the version the number runs now), latest (the newest version of any source) and latest-draft (the newest draft).

Example:

"1834"

Response

The version.

id
string
required

Version id.

Example:

"1835"

numberId
string
required
Example:

"600"

createdAt
string<date-time>
required

When the save happened.

source
enum<string>
required

baseline: the flow as it was before the first save that kept versions. dashboard: a save in the Dashboard designer. api: a save through this API. draft: a draft, not live. publish: a published draft. restore: a restored version. delete: the flow was deleted. cascade: a change to another number deleted a Jump to step of this flow.

Available options:
baseline,
dashboard,
api,
draft,
publish,
restore,
delete,
cascade
actor
object
required

Who made the change.

stepCount
integer
required

Steps in this version.

changes
object | null
required

Step counts against the previous version. null for a baseline.

note
string | null
required

The note sent with the change, or null.

restoredFromVersionId
string | null
required

For restore, the version that was restored; for publish, the draft.

live
boolean
required

true for the version the number runs now. Always false for a draft.

steps
(Ring user · object | Ring favorite user · object | Ring group · object | Voice agent · object | Playback · object | Voicemail · object | Redirect · object | Call recording · object | Fax · object | Change of caller · object | Dial by extension · object | IVR menu · object | Day/time splitter · object | Jump to · object | Condition splitter · object | HTTP request · object | Collect input · object | Mark call as resolved · object | Unsupported step · object)[]
required

The version's steps, rendered as a read renders the live flow. References are resolved as they are now, and header values are hidden. A header reads valueSet: true also when the version no longer keeps its value; Restore a call flow version says when that happens. New steps of a draft have a ref and no id.

One step of a call flow. type picks its fields. A step that branches, or that ends the call, is the last in its array. A branch is an array of steps with the same rules.

problems
object[]
required