Legacy Mailbox API 1.0 is deprecated
Legacy Mailbox API 1.0 was deprecated on November 20, 2019. Please use Mailbox API 2.0 going forward. If you have any questions or need help with the new API, please reach out.
List Workflows
- REST Method: GET
- URLs: https://api.helpscout.net/v1/mailboxes/{id}/workflows.json
Returns a list of manual workflows that are associated with the specified mailbox. The list is ordered by the workflow order property, in ascending order.
Request
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| page | Int | No | 1 |
To request subsequent pages:
https://api.helpscout.net/v1/mailboxes/{id}/workflows.json?page=2
Response
| Response | Name | Type | Notes |
|---|---|---|---|
| Header | Status | Int | 200 if successful |
| Body | page | Int | Current page that was passed in on the request |
| pages | Int | Total number of pages available | |
| count | Int | Total number of objects available | |
| items | Collection | Collection of Workflow objects |
Status: 200 OK
{
"page": 1,
"pages": 1,
"count": 4,
"items": [{
"id": 1234,
"mailboxId": 100,
"type": "manual",
"status": "active",
"order": 1,
"name": "Mine",
"createdAt": "2012-07-24T20:13:12Z"
"modifiedAt": "2012-07-24T20:18:33Z"
},
{... workflow object ...},
{... workflow object ...},
{... workflow object ...}
]
}