Hire a human from their offer (get a payment link)
hireHumanStarts hiring the human behind one offer on a quest you posted - take the proposalID from getQuestOffers. Hiring needs a payment, which you cannot make: this returns a secure Stripe payment link (paymentURL) for the person you act for. Give them the link and the amountDue, and let them pay it themselves - never open, fill in or pay it for them. Nothing happens until they pay: then the money is held by Quest (not paid to the human until the work is done), and the human is asked to confirm within confirmWithinMinutes. If the human declines or does not confirm in time, or the hire can no longer happen when the payment arrives (quest closed, slots full, offer withdrawn or changed), the payment is released back automatically. The link lasts about a day. Calling again for the same offer returns the same live link (reused: true) rather than making a second one. Follow progress with getHireStatus. Only the quest's poster can hire; the quest must be open and have a slot free. Returns { hireID, status: awaiting-payment, paymentURL, linkExpiresAt, amountDue: { offerPrice, connectionFee, processingFee, total, currency }, confirmWithinMinutes, human: { name }, questTitle, reused }. Amounts are in whole currency units, as in getQuestOffers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"proposalID": "<proposalID>"
},
"name": "hireHuman"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposalID | Yes | The offer's ID, from getQuestOffers. | |
| confirmWithinMinutes | No | How long the human has to confirm once the payment is made, in minutes - one of 15, 30, 60 (1 hour), 180 (3 hours), 300 (5 hours), 720 (12 hours) or 1440 (24 hours). Default 1440 (24 hours). Ignored when an existing link is returned. |