Skip to main content
POST
private/get_room_messages

Authorizations

X-DeriveWallet
string
header
required

The wallet the request acts for.

X-DeriveTimestamp
string
header
required

The current time in milliseconds, as a decimal string.

X-DeriveSignature
string
header
required

EIP-191 signature of the timestamp, by the wallet or one of its session keys.

Body

application/json
room
enum<string>
required

Every wallet not banned from chat may join general; fee_tier also needs a fee tier.

Available options:
general,
fee_tier
wallet
string
required

The session's wallet.

from_timestamp
integer<int64> | null

Oldest creation timestamp to include, in ms. Defaults to 30 days before the earlier of to_timestamp and now. Messages are deleted 90 days after they are sent.

page_size
integer<uint>
default:100

Messages to return, newest first: 1 to 1000.

Required range: x >= 0
to_timestamp
integer<int64>
default:9223372036854776000

Newest creation timestamp to include, in ms.

Response

Success

messages
object[]
required

Newest first.