--- title: phone.setOutboundAi | Doing Work API description: Turn the shop's outbound AI calls on or off. legal_name is the shop's name as registered with the state; every call starts with it, and calls are refused. url: https://doingwork.work/docs/reference/phone-setoutboundai/ --- # phone.setOutboundAi Turn the shop's outbound AI calls on or off. legal_name is the shop's name as registered with the state; every call starts with it, and calls are refused without it. connect_ai lets a person who stays on the line talk with the shop's voice AI (phone.setVoiceAi); otherwise calls only play Doing Work's fixed message. Owner only. | | | |---|---| | Who | Agents can call this | | REST | `POST /v1/phone/outbound-ai` | | MCP tool | `phone_setOutboundAi` | | Writes | yes, send an Idempotency-Key | | Area | [Shop](https://doingwork.work/docs/reference/#shop) | ## When to use it Turn the shop's outbound AI calls on or off. legal_name is the shop's name as registered with the state; every call starts with it, and calls are refused without it. ## What to tell the owner Say what you did in plain words and what happens next. ## Input | Field | Type | Required | |---|---|---| | `shop_id` | string (uuid) | yes | | `enabled` | boolean | yes | | `legal_name` | string | no | | `connect_ai` | boolean | no | ## Example ```http POST https://doingwork.work/v1/phone/outbound-ai content-type: application/json Idempotency-Key: 3f1c... { "shop_id": "00000000-0000-4000-8000-000000000000", "enabled": 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 | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |