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 Conversations
4 available variations:
- Return conversations in a mailbox
- REST Method: GET
- URL: https://api.helpscout.net/v1/mailboxes/{mailboxId}/conversations.json
- Return conversations in a specific folder of a mailbox
- REST Method: GET
- URL: https://api.helpscout.net/v1/mailboxes/{mailboxId}/folders/{folderId}/conversations.json
- Return conversations for a specific customer in a mailbox
- REST Method: GET
- URL: https://api.helpscout.net/v1/mailboxes/{mailboxId}/customers/{customerId}/conversations.json
- Return conversations assigned to a specific user in a mailbox
- REST Method: GET
- URL: https://api.helpscout.net/v1/mailboxes/{mailboxId}/users/{userId}/conversations.json
Currently all conversations are returned by createdAt date (from newest to oldest). Threads are never returned on the Conversation object when listing conversations. To get the conversation threads, you need to call the Get Conversation method.
Request
Name | Type | Required | Default | Options | Notes |
---|---|---|---|---|---|
page | Int | No | 1 | ||
status | String | No | all |
|
Active/Pending only applies to the following folders:
|
modifiedSince | Datetime | No | Returns conversations that have been modified since the given date/time. Date/time is in UTC | ||
tag | String | No |
Returns conversations that have been tagged with any of the specified tags. More than one tag can be specified by separating the tags with a comma (no spaces).
|
To request subsequent pages:
https://api.helpscout.net/v1/mailboxes/{mailboxId}/conversations.json?page=2
Response
Response | Name | Type | Notes |
---|---|---|---|
Header | Status | Int | 200 |
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 Conversation objects. Conversation threads are not returned on this call. To get the conversation threads, you need to retrieve the full conversation object via the Get Conversation call. |