requests.create
Log a request for work from a customer or a new lead.
| Who | Agents can call this |
| REST | POST /v1/requests |
| MCP tool | requests_create |
| Writes | yes, send an Idempotency-Key |
| Area | Customer hub, requests and customer emails |
When to use it
Log a request for work from a customer or a new lead.
What to tell the owner
Say what you did in plain words and what happens next.
Input
| Field | Type | Required |
|---|---|---|
shop_id | string (uuid) | yes |
title | string | yes |
details | string | no |
source | string (one of agent, form, portal, phone, email, text, walk_in, other) | no |
customer_id | string (uuid) | no |
property_id | string (uuid) | no |
contact_name | string | no |
contact_email | string | no |
contact_phone | string | no |
address | object | no |
address.line1 | string | yes |
address.line2 | string | no |
address.locality | string | yes |
address.postal_code | string | yes |
address.jurisdiction | string | yes |
preferred_times | string | no |
lead_source | string | no |
tags | array | no |
Example
POST https://doingwork.work/v1/requests
content-type: application/json
Idempotency-Key: 3f1c...
{
"shop_id": "00000000-0000-4000-8000-000000000000",
"title": "..."
}Output
JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.
Errors
| Code | Status | What to do |
|---|---|---|
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |