Skip to main content
POST
Create task message

Authorizations

Authorization
string
header
required

Company API key (mwk_) or personal access token (mel_). A PAT requires X-Workspace-ID on company-scoped routes. An API key implies its own company.

Headers

X-Workspace-ID
string<uuid>

Company UUID for a personal token on company-scoped operations. A company API key already binds its company.

Path Parameters

id
string
required

id from the corresponding authorized response.

Body

application/json
content
string
attachment_ids
string[]

Response

TaskMessageResponse. A member’s message reopens a completed Task but never starts a Run.

id
string
required
task_id
string
required
author_type
string
required
author_id
string
required
content
string
required
role
string
required
kind
string
required
created_at
string
required
updated_at
string
required
reactions
object[]
required
attachments
object[]
required
run_id
string | null
failure_reason
string | null
elapsed_ms
integer | null
final
boolean | null