Live Action Chat

Send a text message in a live-action chat

post/v2/live-action-chats/{chatId}/messages

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v2/live-action-chats/{chatId}/messages
  • Auth
    HTTP bearer

Path parameters

chatIdstring required

Request body

SendLiveActionMessageDto required

Response

idstring required

The ID of the message

chatIdstring required

The ID of the chat

textstring required

The text of the message

status'IN_PROGRESS' | 'COMPLETED' | 'FAILED' required

The status of the message

isFromUserboolean required

Whether the message is from the user

isFromSystemboolean required

Whether the message is a system message

isReadboolean required

Whether the message is read

createdAtstring date-time required

The date and time the message was created

messageType'TEXT' | 'IMAGE_REQUEST' | 'VIDEO_REQUEST' | 'ATTACHMENT' | 'ANIMATE_REQUEST' required

The type of the message

moderationStatus'NONE' | 'ALLOWED' | 'BLOCKED' | 'FAILED_OPEN' | 'FLAGGED' required

Moderation verdict. BLOCKED = hidden from the character (still shown to the user with a notice); FAILED_OPEN = classifier failed and the message was let through.

moderationFeedbackSentboolean required

Whether the user submitted feedback on a blocked message.

isDeletedboolean

Soft-deleted flag. Emitted true so the client removes a message (e.g. a torn-down typing placeholder).

idempotencyKeystring required

The idempotency key of the message

suggestionsstring[]

Suggested follow-up responses for the user

giftSuggestionobject

Gift suggestion from the AI companion

actionsstring[]

Structured UI actions for the client to render

Changes

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