Messages
Create chat message
Create a new message for a specific chat.
post/chats/{chat_id}/messages
Request
- Base URL: https://api.useinvent.com
- URL: https://api.useinvent.com/chats/{chat_id}/messages
- Auth: HTTP bearer
Path parameters
chat_idstring required
Chat ID
Request body
Example request
{
"message": [
{
"audio": {
"file_filename": "document.pdf",
"file_size": 1024,
"file_mimetype": "application/pdf"
}
}
]
}Response
Example response
{
"messages": [
{
"parts": [
{
"audio": {
"file_filename": "document.pdf",
"file_size": 1024,
"file_mimetype": "application/pdf"
}
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.