messages

Retrieve a message's details

Returns one message with its delivery details, optionally including the replies generated in the same exchange. This operation only reads; it uses POST for historical reasons. The business is taken from the business-id header rather than the URL; the path-scoped form of this operation is deprecated.

post/api/v1/chats/{chat_id}/messages/{message_id}

Request

  • Base URL: https://api.izap.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.izap.ai/api/v1/chats/{chat_id}/messages/{message_id}
  • Auth: HTTP bearer

Path parameters

chat_idstring uuid required
message_idstring uuid required

Query parameters

include_repliesboolean

Headers

business-idstring nullable 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.

Response

Successful Response

idstring uuid required
chat_idstring uuid required
senderstring required
receiverstring nullable
timestampstring date-time required
reply_groupChatMessageDetailsOut circular
resp_idstring nullable
last_message_idstring uuid nullable

Changes

No recorded changes to this operation across all 1 revision of this API.