Skip to content
Status

List workflows

GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/workflows

GET
/workflows

List workflows configured for the instance.

criteria
string

Search criteria

order
string

Sort order

expand
string

Fields to expand

limit
integer

Number of records to return: 20 if not set, at most 1000.

offset
integer

Number of records to skip before the first one returned. offset + limit can’t exceed 5000; to read further, page by a field such as created instead. See Paging through results.

List of workflows

Media typeapplication/json
object
workflows
Array<object>

A workflow configuration

object
id
string

Unique identifier for the workflow

Pattern /^wf_[0-9]+_[0-9]+$/
name
string

Name of the workflow

status
string · enum

Current status of the workflow

Allowed values: ACTIVE LINKED INACTIVE RUNDOWN SETUP CREATED
created
string · date-time

When the workflow was created

updated
string · date-time

When the workflow was last updated

v
integer

Version of the record

meta
object
object
limit
integer
offset
integer
total
integer

Unauthorised: the API key is missing or not valid

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Example
{
"code": "UNAUTHORIZED",
"message": "Unauthorised"
}

Was this page helpful?