shops.sendPermissions
What each role may send to a customer: quotes, invoices and visit recaps. The owner always may, for every job, and is not listed. Office starts able to send all three for any job. A lead starts able to send all three for jobs on their crew. A field worker starts able to send all three for jobs assigned to them. The owner can turn any of these off. A missing row means the default, which is on.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/shops/send-permissions |
| MCP tool | shops_sendPermissions |
| Writes | no |
| Area | Shop |
When to use it
What each role may send to a customer: quotes, invoices and visit recaps. The owner always may, for every job, and is not listed.
What to tell the owner
Tell them what you found in plain words. Don't read back raw fields.
| Field | Type | Required |
|---|
shop_id | string (uuid) | yes |
Example
GET https://doingwork.work/v1/shops/send-permissions?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
shop_id | string (uuid) | yes |
owner | string | yes |
roles | array | yes |
roles[].role | string (one of office, lead, field) | yes |
roles[].send_quotes | boolean | yes |
roles[].send_invoices | boolean | yes |
roles[].send_recaps | boolean | yes |
roles[].scope | string | yes |
roles[].customized | boolean | yes |
{
"shop_id": "00000000-0000-4000-8000-000000000000",
"owner": "...",
"roles": [
{
"role": "office",
"send_quotes": true,
"send_invoices": true,
"send_recaps": true,
"scope": "...",
"customized": true
}
]
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |