List VIP user messages
VIP user messages in a window, newest first. With `label` set, only messages carrying that built-in label value or custom AI label id — the drill-down behind a label-overview count; without it, every message in the window. Paged with a `before` timestamp cursor (echo a response's `nextCursor` back). Window capped at 31 days; VIP workspaces only.
/vip-messagesBeta
Authorization
x-api-key x-date x-signature x-api-version Your API key (the ApiKeys document id).
In: header
Current timestamp as an IMF-fixdate string (GMT, US locale) "EEE, dd MMM yyyy HH:mm:ss z", e.g. "Sun, 06 Dec 2020 12:59:11 GMT". 30-second TTL.
In: header
HMAC-SHA256 of the x-date string keyed by your secret, lowercase hex.
In: header
API version you're coding against — currently 1. Required; a missing or unsupported value returns 400 with Missing or unsupported x-api-version header. Supported versions: 1.
In: header
Query Parameters
The VIP workspace id (from GET /workspaces).
The channel id (from GET /channels).
Window start — ISO date (e.g. 2026-06-01).
Window end — ISO date (a date-only value is inclusive of that whole day).
A built-in label value (e.g. frustrated) or a custom AI label id.
Narrow to one entry kind.
Max messages per page.
Opaque page cursor — a previous response's nextCursor (an epoch-ms timestamp).
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Try it
read-onlyKept in this tab only and signed in your browser — your secret never leaves your device.
Query
Enter your key and secret to send.
curl -X GET "https://example.com/vip-messages?workspaceId=AbC123XyZ&mediumId=FB_PAGE_123456789012345&startDate=2026-06-01&endDate=2026-06-30"{ "items": [ { "timestamp": 0, "date": "2019-08-24T14:15:22Z", "conversationId": "string", "userName": "string", "kind": "text", "source": "string", "labels": [ "string" ], "customLabelIds": [ "string" ], "text": "string" } ], "returned": 0, "mayHaveMore": true, "nextCursor": "string"}{ "message": "string"}{ "message": "string"}{ "message": "string"}{ "message": "string"}{ "error": [ { "message": "string", "path": [ "string" ], "type": "string", "context": {} } ]}Export VIP users to CSV
Export all matched VIP users to a CSV and return `{ totalCount, csvUrl }`. Same filters as the list route, but returns every matched row rather than a page.
Export VIP user messages to CSV
Export all VIP user messages in a window to a CSV and return `{ totalCount, csvUrl }`. Same filters and 31-day cap as the list route, but returns every matching row rather than a capped page.