Create Message
Messages API
Create Message
Create a new message
POST
Create Message
Documentation Index
Fetch the complete documentation index at: https://docs.duohub.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your duohub API key. Type: str
Body
application/json
Role of the message sender
Available options:
norole, system, assistant, user, function, tool Content of the message
Optional unique identifier for the message. If not provided, a UUID will be generated.
ID of the session this message belongs to
Optional ID of the customer user