GET
/
message
/
{thread_id}

Authorizations

Authorization
string
headerrequired

Add api-key YOUR_API_SECRET_KEY as the value of the Authorization header.

Path Parameters

thread_id
string
required

The identifier of the Thread to fetch

Response

200 - application/json
thread_id
string
required

Unique identifier of the Thread the Message belongs to

type
enum<string>
required

Message 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>
required

Author 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
required

Datetime from when the Message was sent

read
boolean

Boolean describing if the Message is considered as read