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.

WhoAgents can call this
RESTGET /v1/requests/lead-settings
MCP toolrequests_leadSettings
Writesno
AreaCustomer 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

FieldTypeRequired
shop_idstring (uuid)yes

Example

GET https://doingwork.work/v1/requests/lead-settings?shop_id=00000000-0000-4000-8000-000000000000

Output

FieldTypeAlways there
shop_idstring (uuid)yes
auto_replybooleanyes
after_hoursstringyes
skiparrayyes
flagarrayyes
{
  "shop_id": "00000000-0000-4000-8000-000000000000",
  "auto_reply": true,
  "after_hours": "...",
  "skip": [
    "..."
  ],
  "flag": [
    "..."
  ]
}

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.