Messages
Get Messages
Get a all Messages in a Thread, ordered from oldest to most recently sent
GET
/
message
/
{thread_id}
Authorizations
Authorization
string
headerrequiredAdd api-key YOUR_API_SECRET_KEY
as the value of the Authorization
header.
Path Parameters
thread_id
string
requiredThe identifier of the Thread to fetch
Response
200 - application/json
thread_id
string
requiredUnique identifier of the Thread the Message belongs to
type
enum<string>
requiredMessage type enum
Available options:
text
, image
, audio
, video
, button
, template
, document
content
string
Message's text content
media
string
Message's media content, if any (usually in form of URL)
sent_by
enum<string>
requiredAuthor of this message
Available options:
AI
, EU
, SYS
sent_by_user
string
Altur user id (if Message was sent manually by an in-app user)
sent_at
string
requiredDatetime from when the Message was sent
read
boolean
Boolean describing if the Message is considered as read