Skip to main content
POST
Create message

Authorizations

Authorization
string
header
default:woesk_your_api_key_here
required

Workspace API key that starts with woesk_. Paste your own key into the docs playground; never expose it in browser code.

Path Parameters

conversationId
string
required

Conversation id.

Body

application/json
body
string
required
Required string length: 1 - 8000
role
enum<string>
default:user
Available options:
user,
assistant

Response

Message created.

message
object
required
Last modified on July 4, 2026