API
chat.setThreadRead
POST https://chat.api.rivet.gg/v1/threads/{thread_id}/read
curl -X POST -d '@body.json' 'https://chat.api.rivet.gg/v1/threads/{thread_id}/read'

Authorizations

Authorization[header]required
string

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

Path Parameters

thread_idrequired
string

Body

last_read_tsrequired
string

Any messages newer than this timestamp will be marked as unread. This should be the current timestamp (in milliseconds).