GET
/
v1
/
workflowtemplates
Fetch Workflow Templates
curl --request GET \
  --url https://api.sakari.io/v1/workflowtemplates \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "pagination": {
    "totalCount": 123,
    "limit": 123,
    "offset": 123,
    "hasNext": true
  },
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "status": "active",
      "tags": [
        "<string>"
      ],
      "description": "<string>",
      "groups": [
        {
          "label": "<string>",
          "description": "<string>",
          "parameters": [
            {
              "label": "<string>",
              "helperText": "<string>",
              "link": "<string>",
              "type": "basictext",
              "mandatory": true,
              "args": [
                "<string>"
              ],
              "options": [
                {
                  "value": "<string>",
                  "label": "<string>"
                }
              ],
              "min": 123,
              "max": 123,
              "defaultValue": "<string>",
              "id": "<string>"
            }
          ]
        }
      ],
      "integrations": [
        {
          "name": "<string>",
          "installed": true
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

offset
integer

Results to skip when paginating through a result set

Required range: x >= 0
limit
integer

Maximum number of results to return

Required range: 1 <= x <= 100
type
string

Type of Workflow

Response

200
application/json

successful operation

The response is of type object.