Skip to main content
POST
Retrieve a message's details

Authorizations

Authorization
string
header
required

Personal access token (izap_pat_…) sent as Authorization: Bearer ; dashboard session JWTs are also accepted.

Headers

business-id
string | null
required

UUID of the business the request is scoped to. Required on this route; the deprecated /businesses/{business_id}/... form takes it from the path instead.

Path Parameters

chat_id
string<uuid>
required
message_id
string<uuid>
required

Query Parameters

include_replies
boolean
default:false

Response

Successful Response

chat_id
string<uuid>
required
id
string<uuid>
required
sender
string
required
timestamp
string<date-time>
required
chat_messages
SingleChatMessage · object[] | null
function_calls
ResponseOutputFunction · object[] | null
last_message_id
string<uuid> | null
receiver
string | null
reply_group
unknown
resp_id
string | null
user_message
SingleChatMessage · object | null