myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Get workflow

GET

/api/v1/ext/workflows/{id}

One workflow with its steps and settings.

Auth: Bearer access_token
Scope: automations.read

The workflow must be the installer's own and in the workspace_id sent; anything else is 404. nodes and edges are the canvas graph exactly as stored.

Parameters

NameInTypeRequiredDescription
id
path
number
yes
Workflow id (from List workflows).
workspace_id
query
number
yes
A workspace of the installer.

Responses

StatusWhen
200
OK
401
Missing or invalid token
403
Missing scope
404
workspace_id does not exist or is not the installer's (same response for both)
404
The workflow does not exist, is not the installer's, or is in another workspace

Response schema

workflowobject
idnumber

Workflow id.

Example:1201
namestring

Workflow name.

Example:Welcome new contacts
statusstring

`draft` (not running) or `active` (running).

Example:draft
workspace_idnumber

The workspace it runs in.

Example:7
stop_on_replyboolean

A contact who replies leaves the workflow.

allow_re_entryboolean

A contact who finished can start it again.

execution_windowobject

The hours it may send in: `enabled`, `timezone`, `start_time`, `end_time`, `skip_weekends`.

step_countnumber

How many steps (canvas nodes) it has, the trigger included.

Example:4
nodesarray<object>

The steps as the canvas stores them (`id`, `type`, `data`, `position`). Get and create only.

edgesarray<object>

The connections between steps (`source`, `target`, `sourceHandle`). Get and create only.

created_atstring (ISO 8601)

Created.

updated_atstring (ISO 8601)

Last saved.

Request
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/workflows/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "data": {
    "id": 1201,
    "name": "Welcome new contacts",
    "status": "draft",
    "workspace_id": 7,
    "stop_on_reply": true,
    "allow_re_entry": true,
    "execution_window": {
      "enabled": false,
      "timezone": null,
      "start_time": null,
      "end_time": null,
      "skip_weekends": false
    },
    "step_count": 4,
    "nodes": [
      {
        "id": "contactCreated",
        "type": "contactCreated",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "note": ""
        }
      },
      {
        "id": "welcome",
        "type": "sendSMS",
        "position": {
          "x": 0,
          "y": 220
        },
        "data": {
          "phone": "{{contact.number}}",
          "message": "Hi {{contact.first_name}}, thanks for signing up!"
        }
      },
      {
        "id": "wait1",
        "type": "wait",
        "position": {
          "x": 0,
          "y": 440
        },
        "data": {
          "waitType": "duration",
          "delay": 86400000,
          "delayValue": 1,
          "delayUnit": "days"
        }
      },
      {
        "id": "tag",
        "type": "addTag",
        "position": {
          "x": 0,
          "y": 660
        },
        "data": {
          "tags": [
            "welcomed"
          ]
        }
      }
    ],
    "edges": [
      {
        "id": "e-contactCreated-welcome",
        "source": "contactCreated",
        "target": "welcome",
        "sourceHandle": "out"
      },
      {
        "id": "e-welcome-wait1",
        "source": "welcome",
        "target": "wait1",
        "sourceHandle": "out"
      },
      {
        "id": "e-wait1-tag",
        "source": "wait1",
        "target": "tag",
        "sourceHandle": "out"
      }
    ],
    "created_at": "2026-10-28T09:00:00.000Z",
    "updated_at": "2026-10-28T09:00:00.000Z"
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

Workflow id (from List workflows).

Query parameters

A workspace of the installer.

Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/workflows/%7Bid%7D
Previous

« List workflows

Next

List workflow templates »