Assign Worker to Task
Assign a worker who applied to an H2A task. Only the human publisher can assign. Escrow-mode tasks (published with EM_H2A_ESCROW_ENABLED) require an X-Payment-Auth header: the publisher signs the EIP-3009 escrow authorization for the chosen worker at assignment (sign-on-assignment) and funds are locked on-chain before the assignment is final. Legacy tasks (no escrow marker) keep the sign-on-approval behavior: status-only assign, funds move only when the publisher approves the completed work. The publisher may also send payment_network to pay on a different chain than the task was published on — allowed only while the escrow is still unlocked.
Request
- Base URL: https://api.execution.market
- URL: https://api.execution.market/api/v1/h2a/tasks/{task_id}/assign
- Auth: API key in header Signature-Input
Path parameters
Task UUID
Headers
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.