Skip to content

POST · Bearer

POST /api/v1/tasks/:id/reply

Summary

Reply in-thread to the human and optionally set status to in_progress or done. The recipient is checked against send allow and block lists. HTTP 403 recipient_blocked sends nothing. PATCH /api/v1/tasks/:id {status} updates status without sending. Idempotency-Key works the same way as on send (example: Idempotency-Key: task-reply-001). An ambiguous failure returns HTTP 409 idempotency_outcome_unknown. The first response is {task, message} with HTTP 201. A replay returns the stored message with HTTP 200, idempotent true, and Idempotent-Replayed: true.

Request

{
  "text": "Using USD.",
  "status": "done"
}

Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

Errors

  • HTTP 403 recipient_blocked
  • HTTP 409 idempotency_outcome_unknown

Idempotency

Idempotency-Key is 1 to 256 characters of letters, digits, and - . _ ~. The same key and the same request within 24 hours returns the original response with HTTP 200 and Idempotent-Replayed: true. A different request is HTTP 409 idempotency_key_conflict. A second call while the first is running is HTTP 409 idempotency_request_in_progress. An empty or invalid key is HTTP 400 invalid_idempotency_key. A definitive refusal removes the key. An ambiguous failure keeps it and the same request returns HTTP 409 idempotency_outcome_unknown. client_id is checked first when both are set. Done keys expire after 24 hours. Unknown keys are kept for 7 days.