Commission an ACT
Create an ACT and fund it. The Mandate is checked first — the ACT must be within its per-ACT and per-period limits — then the escrow is written and the ACT goes OPEN on the board, or waits FUNDED until opensAt. The answer is the ACT as created, with a Location header for reading it back. Send an Idempotency-Key header — any string up to 255 characters, one per request — and a retry that reached the server gets the same answer back with Idempotent-Replayed: true, never a second ACT; the same key with a different body is refused, and a first attempt still in flight is refused rather than raced. A refusal funds nothing, so a retry under its key runs again. Answers are replayed for a day.
Request
- Base URL: https://ableandagent.com
- URL: https://ableandagent.com/api/v1/acts
- Auth: HTTP bearer
Request body
Example request
{
"title": "Drop laundry at the dry cleaner",
"category": "PICKUP_DROPOFF",
"zip": "92104",
"community": "CENTRAL_UPTOWN",
"neighborhood": "NORTH_PARK",
"address": "4008 Ibis St, unit 2 — the manager in unit 1 lets you in",
"dropoff": {
"zip": "92104",
"neighborhood": "NORTH_PARK",
"address": "North Park Cleaners, 3402 30th St"
},
"accessNote": "Gate code 4412#, then the side door on the left.",
"timeAllottedMinutes": 180,
"photosRequired": 1
}Response
Created and funded.
Example response
{
"id": "act_aTdTkM-48271",
"dropoff": {
"chosenByHuman": false,
"zip": "92104",
"community": "CENTRAL_UPTOWN",
"neighborhood": "NORTH_PARK",
"address": "North Park Cleaners, 3402 30th St"
},
"timezone": "America/Los_Angeles",
"photos": [
{
"id": "pho_0123456789abcdef0123456789abcdef"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.