Send a message to a delegate task
Answer a question the task asked (status input_required) or add a follow-up instruction to a running task. Only the user who started the task may message it: from their own session, or with the exact API key that started it (another key of the same user is refused, because the task keeps acting with the starting key’s authority). API keys need DELEGATE_TASKS:WRITE.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
The task id (dlg_…).
Request
This endpoint expects an object.
message
answersQuestionSeq
Deliver the message only while the task still waits on the question journaled at this seq (the seq of its question event). Otherwise the call answers 409 DELEGATE_TASK_QUESTION_ANSWERED and delivers nothing, so an answer is safe to retry.
Response
Accepted
accepted
task
messageSeq
Journal seq of the message_received event this message became.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error