Skip to main content
Retrieve the actions available in a workflow state

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

workflow
string
required

Name of the workflow definition to retrieve actions for.

Minimum string length: 1
Example:

"wf_archive"

Query Parameters

stateId
integer

State to report the actions of. Left out, the workflow's own start state is used - which is what a client wants when offering the actions for a document that does not exist yet.

Example:

0

Response

Returns the actions and requests available from that state to this caller.

actions
object[]

Moves available from this state to this caller - actions they perform themselves and requests they raise for somebody else, each carrying a type saying which it is. Transitions behind a right the caller does not hold are absent.

automaticState
boolean

Whether the state moves on by itself. When it does, there is nothing for a user to choose and no action menu should be offered.

reworkStateId
integer

State a rework request would send the document back to.