Unipile integration (Communication, Productivity). Imported from open-connector.
https://{dsn}/api/v1/accounts
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | A Unipile pagination cursor from a previous list response. |
| limit | integer | optional | The maximum number of items to return, from 1 to 250. |
/api/v1/accounts/{accountId}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Unipile account ID to retrieve. |
/api/v1/chats
| Param | Type | Required | Description |
|---|---|---|---|
| unread | boolean | optional | Whether to return only unread or only read chats. |
| cursor | string | optional | A Unipile pagination cursor from a previous list response. |
| before | string | optional | An ISO 8601 UTC datetime filter such as 2025-12-31T23:59:59.999Z. |
| after | string | optional | An ISO 8601 UTC datetime filter such as 2025-12-31T23:59:59.999Z. |
| limit | integer | optional | The maximum number of items to return, from 1 to 250. |
| accountType | string | optional | The connected messaging provider type to filter by. |
| accountId | string | optional | A Unipile account ID or comma-separated account IDs. |
/api/v1/chats/{chatId}
| Param | Type | Required | Description |
|---|---|---|---|
| chatId | string | required | The Unipile or provider chat ID to retrieve. |
| accountId | string | optional | The Unipile account ID, required when chatId is a provider ID. |
/api/v1/chats/{chatId}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| chatId | string | required | The Unipile chat ID whose messages should be listed. |
| cursor | string | optional | A Unipile pagination cursor from a previous list response. |
| before | string | optional | An ISO 8601 UTC datetime filter such as 2025-12-31T23:59:59.999Z. |
| after | string | optional | An ISO 8601 UTC datetime filter such as 2025-12-31T23:59:59.999Z. |
| limit | integer | optional | The maximum number of items to return, from 1 to 250. |
| senderId | string | optional | Only return messages from this sender ID. |
/api/v1/messages/{messageId}
| Param | Type | Required | Description |
|---|---|---|---|
| messageId | string | required | The Unipile message ID to retrieve. |