Export messages by location ID
conversations_export_messages_by_locationExport conversation messages for a specific location. Filter by channel, contact, conversation, or date range, and paginate results with a cursor.
Instructions
Export messages by location ID Export messages for a specific location with cursor-based pagination support. Response includes messageType (string), source, and subType fields. The channel parameter is optional - if not provided, all non-email message types will be returned including activity messages (opportunity updates, appointments, etc.). [GET /conversations/messages/export] Scopes: conversations/message.readonly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | (default: 100) | |
| cursor | No | Cursor for pagination. Pass the nextCursor from previous response to get next page. | |
| sortBy | No | (default: "createdAt") | |
| channel | No | Filter by message channel. If not provided, all non-email message types will be returned including activity messages (opportunity updates, appointments, etc.) | |
| endDate | No | End date to filter messages by | |
| contactId | No | Filter messages by contact ID | |
| sortOrder | No | (default: "desc") | |
| startDate | No | Start date to filter messages by | |
| locationId | Yes | Location ID to filter messages by | |
| conversationId | No | Filter messages by conversation ID |