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.
When to use it
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.
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/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 |
{
"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. |