agentThreads
Submits a message to an agent conversation.
Changed onSubmits a new message to an existing agent conversation for processing. Provide text, attachments, or both. The message starts processing or enters the thread's queue. The response confirms acceptance; it does not contain the agent's reply. Read GET /agents/threads/{threadId}/messages to retrieve replies. Each request submits a new message. Retrying after a lost response can submit the message again. Processing is subject to the workspace's AI availability and usage limits. <Check title="Required Permissions" icon="key">The user must have permission to contribute to the thread.</Check>
post/agents/threads/{threadId}/messages
Request
- Base URLhttps://api.awork.com/api/v1
- URLhttps://api.awork.com/api/v1/agents/threads/{threadId}/messages
- AuthHTTP bearer
Path parameters
threadIdstring uuid required
The id of the thread to send the message in.
Request body
Response
OK
Changes
- info
added the new optional request property
- info
- info
added the optional property
to the response with the status
- info