Remove a contact from a workflow
DELETE
/api/v1/ext/workflows/{id}/contacts/{contact_id}
Stop a workflow for one contact.
Auth: Bearer access_token
Scope: automations.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | The workflow id. |
| contact_id | path | number | yes | The contact id. |
Responses
| Status | When |
|---|---|
200 | OK |
401 | Missing or invalid token |
403 | Missing scope |
404 | Workflow or contact not found (or not yours) |
RequestResponses
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/workflows/{id}/contacts/{contact_id}" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"message": "Contact removed from the workflow",
"data": null
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
The workflow id.
The contact id.
Request URL
DELETEhttps://backend.mysmsgateway.app/api/v1/ext/workflows/%7Bid%7D/contacts/%7Bcontact_id%7D
Previous
« Add contacts to a workflow
Next
List pipelines »
