List workflows
/api/v1/workflowsReturns your workflow automations in pages, in priority order (the order in which they are evaluated). The list includes SLA policies (type sla and ticket_sla); filter with type=workflow to leave them out.
Each item is a summary. Call GET /api/v1/workflows/{id} for the trigger, conditions and actions.
Required ability: workflows:read.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
typestringoptionalOnly return workflows of this type.
Allowed values:"workflow", "sla", "ticket_sla"
enabledbooleanoptionalOnly return enabled (
true) or disabled (false) workflows.pageintegeroptionalPage number, starting at 1.
Default:1
Example:1
pageSizeintegeroptionalWorkflows per page.
Default:20
Example:20
Responses
200One page of workflows.
One page of workflows.
workflowsarray[WorkflowSummary]requiredChild attributes
idstring<uuid>optionalnamestringoptionaltypestringoptionalAllowed values:"workflow", "sla", "ticket_sla"
priorityinteger | nulloptionalPosition in the evaluation order within its type; 1 is first.
enabledbooleanoptionalcustombooleanoptionaltruefor a workflow that agents run by hand (triggerwhen_manually_triggered).updatedAtstring<date-time> | nulloptional
pageintegerrequiredpageSizeintegerrequiredtotalintegerrequiredNumber of workflows that match the filters.
400A query parameter is not valid.
A query parameter is not valid.
messagestringrequirederrorstringoptionalstatusCodeintegerrequired
The API token is missing or invalid.
403The API token does not have the ability this endpoint requires. See "Token abilities" in the introduction.
The API token does not have the ability this endpoint requires. See "Token abilities" in the introduction.
messagestringrequirederrorstringoptionalstatusCodeintegerrequired