Agent TasksAdd a task messagepost

Add a task message

Adds a follow-up instruction or clarification to an existing task.

curl -X POST "https://public-api.textmine.com/v3/tasks/123/messages" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (TextMine tm_ API key)" \
  -d '{
  "message": "example_string",
  "context": {},
  "autostart": true
}'
{
  "id": 123,
  "organization_id": 123,
  "idempotency_key": "example_string",
  "source": "example_string",
  "priority": "example_string",
  "title": "example_string",
  "instruction": "example_string",
  "status": "example_string",
  "current_summary": "example_string",
  "final_summary": "example_string",
  "last_error": "example_string",
  "created": "2024-12-25T10:00:00Z",
  "updated": "2024-12-25T10:00:00Z",
  "completed_at": "2024-12-25T10:00:00Z"
}
POST
/v3/tasks/{taskId}/messages
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (TextMine tm_ API key)
Bearer Tokenstring
Required

Bearer token (TextMine tm_ API key) - just enter the token, "Bearer" prefix will be added automatically

Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (TextMine tm_ API key). Authentication token required.

Path Parameters

Responses