Chats

Send a message to a chat

post/v1/chats/{id}/send-message

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/v1/chats/{id}/send-message
  • Auth
    HTTP bearer

Path parameters

idstring required

Request body

textstring required

The text of the message

imageRequestCountnumber required

The number of images to request

Example request

{
  "text": "Hello, how are you?",
  "imageRequestCount": 1
}

Response

Message sent successfully

balancenumber required

The balance

Example response

{
  "balance": 100
}

Changes

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