Node catalog
GET
/api/v1/ext/workflows/node-catalog
Every step type a plan can use, and the fields each one takes.
Auth: Bearer access_token
Scope: automations.read
The reference for writing a plan. detail=summary (the default) lists every type with its title, purpose and whether it is a trigger or an action. detail=full&types=sendSMS,wait adds, for just those types, when to use them, how they work, their default data and the field schema (fields) that says what data may set.
Triggers start a workflow (contactCreated, customerReplied, appointmentBooked, manualTrigger …); actions do the work (sendSMS, sendWhatsApp, wait, addTag, ifElse …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| detail | query | enum | no | Default summary. |
| types | query | string | no | Comma-separated step types, with detail=full. |
Responses
| Status | When |
|---|---|
200 | OK (detail=full&types=sendSMS) |
401 | Missing or invalid token |
403 | Missing scope |
RequestResponses
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/workflows/node-catalog" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK (detail=full&types=sendSMS)
{
"success": true,
"data": [
{
"type": "sendSMS",
"kind": "action",
"title": "Send SMS",
"purpose": "Send a text message from an Android device.",
"whenToUse": "To text the contact.",
"howItWorks": "Sends the message to the contact's number from the workspace's device.",
"defaults": {
"phone": "{{contact.number}}",
"message": "Hi {{contact.first_name}}, welcome!"
},
"fields": [
{
"name": "message",
"kind": "text",
"desc": "The SMS body. Merge tags like {{contact.first_name}} allowed."
}
]
}
]
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters
Default `summary`.
Comma-separated step types, with `detail=full`.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/workflows/node-catalog
Previous
« List workflow templates
Next
Validate a plan »
