Reply to an owner task
cooper_reply_taskUse this when you have an answer or result for a task from cooper_get_tasks and want to reply to the human in the same email thread. Requires auth. Sends a real email to the task's sender. Inputs: task_id (required), text (required; the reply body), status (optional; pending, in_progress, or done — set done when the task is finished), idempotency_key (optional; sent as the Idempotency-Key header; 1 to 256 characters of letters, digits, and - . _ ~). Without idempotency_key, calling twice sends two emails. The same key and the same request within 24 hours returns the stored message with idempotent true and does not send again. Returns {task (with updated status), message (the sent email)} on the first send. A replay returns that message. Fails with 400 invalid_idempotency_key, 409 idempotency_key_conflict, 409 idempotency_request_in_progress, 403 recipient_blocked, 403 recipient_suppressed, 403 inbox_paused, or 404 task_not_found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Reply body sent to the human | |
| status | No | Optional new task status | |
| task_id | Yes | Task id returned by cooper_get_tasks | |
| idempotency_key | No | Optional Idempotency-Key header. 1 to 256 characters: letters, digits, and - . _ ~. The same key and request within 24 hours returns the stored message. |