Skip to API content
TalkLabs API Docs v3
Recipes
GET Chat

List Event History

This method enables you to download all of the events from a room in large batches.

GET /api/v3/{appid}/chat/rooms/{roomid}/listeventshistory
  • This method enables you to download all of the events from a room in large batches. It should only be used if doing a data export.
  • This method returns a list of events sorted from oldest to newest.
  • This method returns all events, even those in the inactive state.

URL PARAMETERS

  • limit : (Optional) Defaults to 100, maximum 2000.
  • cursor: (Optional) If not provided, the most recent events will be returned. To get older events, call this method again using the cursor string returned from the previous call.
Request

Parameters

Values in the path and query string.

appid path
string TalkLabs ID required

The TalkLabs application ID assigned to your account.

Example: your-app-id
roomid path
string TalkLabs ID required

The TalkLabs assigned room ID returned when the room was created.

Example: room-id
limit query
integer · int32

The maximum number of records to return.

Example: 100
cursor query
string

The cursor returned by the previous page.

Response

Status codes

Every JSON response uses the API result envelope.

200 OK ApiResult
400 Bad Request ApiResult
403 Forbidden ApiResult
404 Not Found ApiResult
500 Internal Server Error ApiResult
Search all 118 endpoints Try “join room”, “moderate”, or “POST”.
Request environment

Connect your application

These values fill request examples and the API console. They stay in this browser tab and are never sent to TalkLabs until you run a request.

Credentials are stored in sessionStorage, not in cookies or analytics.