GET
/
v1
/
workflows
/
{uid}
Retrieve a Workflow
curl --request GET \
  --url https://api.siit.io/v1/workflows/{uid} \
  --header 'Authorization: Bearer <token>'
{
  "uid": "<string>",
  "name": "<string>",
  "status": "draft",
  "executed_count": 0,
  "trigger_type": "date",
  "trigger_name": "date.date",
  "author_uid": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z"
}

Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uid
string
required

The UID of the Workflow

Response

Workflow show

uid
string

The UID of the Workflow

name
string

The Workflow name

status
enum<string>
default:draft

The status of the Workflow

Available options:
draft,
live,
paused,
archived
executed_count
integer
default:0

Workflow's executions count.

trigger_type
enum<string>

The type of Workflow trigger

Available options:
date,
user,
request
trigger_name
enum<string>
Available options:
date.date,
user.birthday_date,
user.work_anniversary,
user.job_start_date,
user.job_leave_date,
user.probation_end_date,
request.submitted,
request.resolved,
request.in_progress,
request.waiting,
request.reopened,
request.snoozed,
request.snooze_expired,
request.admin_replied,
request.user_replied,
request.user_unresponsive,
request.tag_added,
request.sla_breached
author_uid
string | null

Workflow's author UID.

updated_at
string<date-time>

datetime formatted as ISO 8601 (e.g. "2020-12-15T03:34:13.000Z")

created_at
string<date-time>

datetime formatted as ISO 8601 (e.g. "2020-12-15T03:34:13.000Z")