Conversations
Create a message
Create a message in the workspace identified by {wId} in the conversation identified by {cId}.
post/api/v1/w/{wId}/assistant/conversations/{cId}/messages
Path parameters
wIdstring required
ID of the workspace
cIdstring required
ID of the conversation
Request body
Example request
{
"content": "This is my message",
"mentions": [
{
"configurationId": "7f3a9c2b1e"
}
],
"context": {
"username": "johndoe123",
"timezone": "America/New_York",
"fullName": "John Doe",
"email": "john.doe@example.com",
"profilePictureUrl": "https://example.com/profiles/johndoe123.jpg",
"agenticMessageData": {
"originMessageId": "2b8e4f6a0c"
}
},
"modelSelection": {
"providerId": "anthropic",
"modelId": "claude-sonnet-4-20250514",
"reasoningEffort": "medium"
}
}Response
Message created successfully.
Example response
{
"content": "This is my message",
"mentions": [
{
"configurationId": "7f3a9c2b1e"
}
],
"context": {
"username": "johndoe123",
"timezone": "America/New_York",
"fullName": "John Doe",
"email": "john.doe@example.com",
"profilePictureUrl": "https://example.com/profiles/johndoe123.jpg",
"agenticMessageData": {
"originMessageId": "2b8e4f6a0c"
}
},
"modelSelection": {
"providerId": "anthropic",
"modelId": "claude-sonnet-4-20250514",
"reasoningEffort": "medium"
}
}