Skip to API content
TalkLabs API Docs v3
Recipes
GET Chat

Search event history with query parameters

Create rooms, publish messages, subscribe users, and read live activity.

GET /api/v3/{appid}/chat/searchevents

Create rooms, publish messages, subscribe users, and read live activity.

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
FromUserId query
string customer-defined

If specified, filters the search to only include messages where the user posting the event has this userid as an exact match

FromHandle query
string

If specified, filters the search to only include messages where the user posting the event has this handle as an exact match

Types query
ChatEventTypes[]
Example: 1
RoomId query
string TalkLabs ID

If specified, filters the search to only include events from the specified room

Example: room-id
Body query
string

If specified, performs a substring match case insensitive of the body

Limit query
integer · int32

The maximum number of records to return.

Example: 1
Cursor query
string

The cursor returned by the previous page.

Direction query
integer · int32
Example: [object Object]
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.