Previews
List your preview links
GET
/preview-sessionsNeedscontent.viewAuthorization
secretKeyheader
AuthorizationBearer <sk_…>A secret API key from Settings → API keys. It acts with its creator's role.
Query Parameters
includeInactive?"1"Include expired and revoked links.
Value in
"1"contentType?stringOnly links covering this item (with contentId).
Value in
"tour""tooltip""banner""checklist""survey""announcement"contentId?integerThe item's id.
Response Body
OK
application/json- response
sessions*array<>Shell
curl -X GET 'https://app.cueston.com/api/preview-sessions'Example Response
JSON
{
"sessions": [
{
"id": "string",
"scope": "view",
"contentRefs": [
{
"type": "tour",
"id": 42
}
],
"traits": {},
"locale": "de-DE",
"expiresAt": "2026-10-26T09:30:00Z",
"revokedAt": "2026-10-26T09:30:00Z",
"lastUsedAt": "2026-10-26T09:30:00Z",
"createdAt": "2026-10-26T09:30:00Z",
"status": "active"
}
]
}Redeliver an eventPOST
Sends the same event again (same event id and payload, fresh signature) and waits for the result. `webhook_disabled` when the endpoint is off.
Create a preview linkPOST
A link that opens your app with drafts showing — only for whoever opens it, until it expires. `launchUrl` already has the token appended. The token (`cpv_…`) is shown once.