Skip to main content
GET
Get Bot Chat

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chat_id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Query Parameters

limit
integer
default:30
Required range: 1 <= x <= 100
before
integer

The before value of the previous page, for older messages.

Required range: 0 <= x <= 9007199254740991

Response

The chat.

chat_id
string
required
title
string
required
kind
enum<string>
required
Available options:
dm,
group
lead_bot_id
string | null
required
bots
object[]
required
people
object[]
required
messages
object[]
required

Oldest first.

before
integer | null
required

Pass as before for older messages. Null at the start of the chat.

Required range: -9007199254740991 <= x <= 9007199254740991
cursor
string
required
url
string
required