myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

List workflows

GET

/api/v1/ext/workflows

List the automation workflows in a workspace owned by the installer.

Auth: Bearer access_token
Scope: automations.read

Read-only list of the workflows built in Automations for a workspace. Scoped to the installer, so a token can only read the workflows of its own workspaces. Supports pagination and name search. An unknown or non-owned workspace_id returns 404 (never an empty 200), and the same 404 is returned whether the workspace does not exist or simply is not yours — so existence is never leaked. Pagination: page is clamped to >= 1 (default 1) and limit to [1, 200] (default 10). Invalid bounds are normalised rather than rejected; the response pagination object reports the applied page / limit, max_limit, total, total_pages, the raw requested values, and a normalized flag. This is a read-only surface — creating, editing, and triggering workflows is done in the dashboard, not via the API.

Parameters

NameInTypeRequiredDescription
workspace_id
query
number
yes
The workspace whose workflows to list. Must belong to the installer.
page
query
numbernoPage number — integer clamped to >= 1; default 1. Invalid values (0, negative, non-numeric) are normalised to 1, NOT rejected; see the response pagination object.
limit
query
numbernoPage size — integer clamped to [1, 200]; default 10. Out-of-range or non-numeric values are normalised, NOT rejected; the applied bounds and a normalized flag are echoed in the response pagination object.
search
query
stringnoFilter workflows by name (case-insensitive).

Responses

StatusWhen
200
OK
400
workspace_id missing
401
Missing or invalid token
403
Missing scope
404
workspace_id does not exist or is not owned by the installer (same response for both, so existence is never leaked)

Response schema

workflowsobject

The page of workflows plus totals for the workspace

workflowsarray<object>

The page of workflows. Each carries id, name, status ("active" / "draft"), created_at, updated_at.

totalnumber

Total workflows in the workspace matching the filter.

Example:12
activeCountnumber

How many of them are active.

Example:8
draftCountnumber

How many of them are drafts.

Example:4
Request
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/workflows" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "data": {
    "workflows": [
      {
        "id": "wf_9a1",
        "name": "Welcome new lead",
        "status": "active",
        "created_at": "2026-05-21T09:14:22.000Z",
        "updated_at": "2026-07-01T12:00:00.000Z"
      },
      {
        "id": "wf_9a2",
        "name": "Missed-call follow up",
        "status": "draft",
        "created_at": "2026-06-02T10:00:00.000Z",
        "updated_at": "2026-06-02T10:00:00.000Z"
      }
    ],
    "total": 12,
    "activeCount": 8,
    "draftCount": 4
  },
  "pagination": {
    "page": 1,
    "limit": 10,
    "max_limit": 200,
    "total": 12,
    "total_pages": 2,
    "requested": {
      "page": null,
      "limit": null
    },
    "normalized": false
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters

The workspace whose workflows to list. Must belong to the installer.

Page number — integer clamped to >= 1; default 1. Invalid values (0, negative, non-numeric) are normalised to 1, NOT rejected; see the response `pagination` object.

Page size — integer clamped to [1, 200]; default 10. Out-of-range or non-numeric values are normalised, NOT rejected; the applied bounds and a `normalized` flag are echoed in the response `pagination` object.

Filter workflows by name (case-insensitive).

Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/workflows
Previous

« List submissions

Next

Get workflow »