--- title: requests.leadSettings | Doing Work API description: The shop's lead rules: reply to new requests within a minute (on or off), after hours (offer the first open time, or hold for the morning), and which lead url: https://doingwork.work/docs/reference/requests-leadsettings/ --- # requests.leadSettings The shop's lead rules: reply to new requests within a minute (on or off), after hours (offer the first open time, or hold for the morning), and which lead types to flag or skip. | | | |---|---| | Who | Agents can call this | | REST | `GET /v1/requests/lead-settings` | | MCP tool | `requests_leadSettings` | | Writes | no | | Area | [Customer hub, requests and customer emails](https://doingwork.work/docs/reference/#customer-hub-requests-and-customer-emails) | ## When to use it Lead rules (requests.setLeadSettings, owner or office) decide what happens to a new request. With auto_reply on, Doing Work sends one first reply within a minute: a text only where the customer already agreed to texts or texted the shop, and the shop's own number is approved for business texting; otherwise an email; otherwise nothing. ## What to tell the owner Tell them what you found in plain words. Don't read back raw fields. ## Input | Field | Type | Required | |---|---|---| | `shop_id` | string (uuid) | yes | ## Example ```http GET https://doingwork.work/v1/requests/lead-settings?shop_id=00000000-0000-4000-8000-000000000000 ``` ## Output | Field | Type | Always there | |---|---|---| | `shop_id` | string (uuid) | yes | | `auto_reply` | boolean | yes | | `after_hours` | string | yes | | `skip` | array | yes | | `flag` | array | yes | ```json { "shop_id": "00000000-0000-4000-8000-000000000000", "auto_reply": true, "after_hours": "...", "skip": [ "..." ], "flag": [ "..." ] } ``` ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |