Private preview of the new site. Not live.

network.setAgentOptIn

Let the shop's agents turn customer requests on or off and change what the shop takes (owner only, with your own sign-in). On by default.

WhoA person's own sign-in only (agent tokens are refused)
RESTPOST /v1/network/agent-optin
MCP toolNot an MCP tool
Writesyes, send an Idempotency-Key
AreaShop

When to use it

Requests and quotes are free for shops and customers. We will never charge lead or referral fees.

What to tell the owner

Ask the person to do this with their own sign-in. Your agent token is refused here.

Input

FieldTypeRequired
shop_idstring (uuid)yes
allowedbooleanyes

Example

POST https://doingwork.work/v1/network/agent-optin
content-type: application/json
Idempotency-Key: 3f1c...

{
  "shop_id": "00000000-0000-4000-8000-000000000000",
  "allowed": true
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

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