Private preview of the new site. Not live.

media.requestCapture

Hosted photo capture: a signed upload URL for a worker taking a photo in the browser.

WhoHosted page only (a person does it in the browser)
RESTPOST /v1/media/capture
MCP toolNot an MCP tool
Writesno
AreaJob photos

When to use it

Never call it yourself. Used by the hosted camera page when a worker takes a photo in the browser.

What to tell the owner

Open the job's camera page to take photos.

Input

FieldTypeRequired
job_idstringyes
stagestring (one of before, during, after, other)yes
sha256stringyes
shows_interiorbooleanno

Example

POST https://doingwork.work/v1/media/capture
content-type: application/json
Idempotency-Key: 3f1c...

{
  "job_id": "00000000-0000-4000-8000-000000000000",
  "stage": "before",
  "sha256": "..."
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
human_only403This step happens on a hosted page the person opens themselves. Send them the link; don't try another route.
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.