Messages API
Create Message
Create a new message
POST
Authorizations
Your duohub API key. Type: str
Body
application/json
Content of the message
Role of the message sender
Available options:
norole
, system
, assistant
, user
, function
, tool
Optional ID of the customer user
Optional unique identifier for the message. If not provided, a UUID will be generated.
ID of the session this message belongs to