Skip to main content
GET
/
realtime
/
v1
/
channels
/
{channel}
/
messages
Get channel message history
curl --request GET \
  --url https://api.voyant.travel/realtime/v1/channels/{channel}/messages \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "channel": "<string>",
    "event": "<string>",
    "data": "<unknown>",
    "publishedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Voyant Cloud API token, passed as Authorization: Bearer <token>. Each token carries a fixed set of scopes; an operation rejects tokens missing its required scope.

Path Parameters

channel
string
required

Query Parameters

limit
integer
sinceId
string

Response

200 - application/json

Channel history

id
string
required
channel
string
required
event
string
required
data
any
required
publishedAt
string<date-time>
required