Skip to main content
GET
Chat messages

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Path Parameters

userId
string
required
Pattern: ^\d+$

Query Parameters

limit
integer
default:10

Number of messages to return (max 10)

Required range: 1 <= x <= 10
offset
integer | null

Number of messages to skip (for pagination)

Required range: x >= 0
query
string

Search/filter text

Maximum string length: 100
cursor
string | null

Message cursor from the previous page.

Response

Successful response

list
object[]
required
hasMore
boolean
required
nextLastId
string

Pagination cursor — pass as last_id to fetch the next page