List pipelines
GET
/api/v1/ext/pipelines
A workspace's pipelines, each with its stages in order.
Auth: Bearer access_token
Scope: opportunities.read
A workspace that has never opened its Pipeline gets the default pipeline created on the first call, as in the myCRMSIM dashboard.
Use a stage id from here for Create opportunity and Move stage. is_won / is_lost mark the closing stages.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| workspace_id | query | number | yes | The workspace. |
Responses
| Status | When |
|---|---|
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) |
RequestResponses
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/pipelines" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"data": [
{
"id": 3,
"name": "Sales",
"is_default": true,
"position": 0,
"stages": [
{
"id": 8,
"name": "New lead",
"color": "#94a3b8",
"position": 0,
"is_won": false,
"is_lost": false
},
{
"id": 9,
"name": "Qualified",
"color": "#22c55e",
"position": 1,
"is_won": false,
"is_lost": false
},
{
"id": 10,
"name": "Won",
"color": "#16a34a",
"position": 2,
"is_won": true,
"is_lost": false
}
],
"created_at": "2026-09-01T10:00:00.000Z",
"updated_at": "2026-10-01T10:00:00.000Z"
}
]
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters
The workspace.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/pipelines
Previous
« Remove a contact from a workflow
Next
List opportunities »
