conversations_export_messages_by_location
Export GoHighLevel messages by location ID, filtering by channel, date range, contact, or conversation. Use cursor pagination to retrieve large message sets efficiently.
Instructions
Export messages by location ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of messages to return per page | |
| cursor | No | Cursor for pagination. Pass the nextCursor from previous response to get next page. | |
| sortBy | No | Field to sort by | |
| 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 | Sort order | |
| startDate | No | Start date to filter messages by | |
| locationId | No | Location ID to filter messages by Defaults to GHL_LOCATION_ID when omitted. | |
| conversationId | No | Filter messages by conversation ID |