Send Message

Send a text or image message to the guest.

This endpoint is not idempotent and does not return a message ID. If a request times out, the outcome is unknown — Hostex cannot determine whether the channel has already delivered the message, and this uncertainty cannot be resolved on our side, so no idempotency guarantee is offered. If you receive an error, retry as appropriate — in our experience, a guest receiving a duplicate message is better than a guest receiving no message at all.

Path Params
string
required

The id of the conversation.

Body Params
string

The text content of the message. Max length depends on the limit of different channels.

string

The base64 encoded string of the JPEG image.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json