> ## Documentation Index
> Fetch the complete documentation index at: https://vetta.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# naive identity phone

> Provision, list, update, release, and send from a persona's phone numbers.

Phone numbers belong to a [persona](https://vetta.sh/docs/cli/identity.md), so every command takes `--identity`. Reached as `naive identity phone <command>` — three words, where `phone` is a sub-group rather than a positional argument.

## Commands

| Command | Description |
| - | - |
| `naive identity phone provision` | Purchase a number for a persona. |
| `naive identity phone list` | List the persona's numbers. |
| `naive identity phone send` | Send an SMS as the persona. |
| `naive identity phone update` | Set or clear the agent a number's texts are for. |
| `naive identity phone release` | Release a number back to the pool. |

`--identity` takes either an `idn_` id or the persona's name; the API resolves both.

## provision

```bash theme={"system"}
naive identity phone provision --identity ava \
  --tier sole_prop --legal-name "<registered legal name>" --contact-phone +15555550123 --country US
```

`--legal-name` must be the legal name of the deployment's shared carrier registration; any other name is refused before anything is bought, because registering your own brand is not available yet. A number costs \$1.15 every 30 days, charged at purchase ([pricing](https://vetta.sh/docs/identity/phone.md#pricing)); a test company cannot buy one.

| Flag | Description |
| - | - |
| `--identity` | Persona id or name (required; also accepted positionally). |
| `--tier` | `sole_prop` \| `standard` (required). |
| `--legal-name` | Registered legal name (required). |
| `--country` | ISO country code. |
| `--tax-id` | Required for `--tier standard`. |
| `--contact-phone` | Required for `--tier sole_prop`. Checked for shape only; no passcode is sent. |
| `--e164` | Request a specific number in E.164 form. |
| `--agent` | The agent inbound texts to this number are for (`owning_agent_id`), as an inbox names one for mail. |

> [!WARNING]
>
> **`provision` is a purchase**, and it answers `202`, not `201`. The number exists and can **receive** immediately, but outbound messaging waits on a carrier campaign decision that is not ours to make.

Neither `--tax-id` nor `--contact-phone` is stored or sent anywhere: numbers use the shared registration, so nothing is filed with them.

## list

```bash theme={"system"}
naive identity phone list --identity ava
```

```json theme={"system"}
{ "data": [], "has_more": false, "next_cursor": null }
```

| Flag | Description |
| - | - |
| `--identity` | Persona id or name (required; also accepted positionally). |
| `--limit` | Page size. |

## send

```bash theme={"system"}
naive identity phone send --identity ava --phone pho_... --to +15555550199 --text "Your refund is processed."
```

| Flag | Description |
| - | - |
| `--identity` | Persona id or name (required). |
| `--phone` | The number to send from (required). |
| `--to` | Destination in E.164 form (required). |
| `--text` | Message body. `--message` is accepted as a synonym. |

### Outbound SMS is refused until the campaign is approved

Each send is billed in credits per segment (\$0.0129; [pricing](https://vetta.sh/docs/identity/phone.md#pricing)). Until the carrier approves the messaging campaign registered by `provision`, `send` is refused with `compliance_pending`. This is a **carrier rule, not a platform bug**, and the CLI reports it rather than retrying around it. Inbound continues to work throughout.

There is no way to shorten the wait from here. Check the number's campaign state with `naive identity phone list` before scripting anything that depends on outbound delivery.

## update

```bash theme={"system"}
naive identity phone update --identity ava --phone pho_... --agent agt_...
naive identity phone update --identity ava --phone pho_... --none
```

| Flag | Description |
| - | - |
| `--identity` | Persona id or name (required). |
| `--phone` | Number id. Also accepted as the second positional argument. |
| `--agent` | The agent inbound texts to this number are for (`owning_agent_id`). |
| `--none` | Clear the number's agent. Pass exactly one of `--agent` and `--none`. |

Once set, each inbound text that passes the [guards](https://vetta.sh/docs/identity/inbound.md#safety-inbound-is-untrusted) starts a session for that agent, as this persona, billed to your credits. Texts that arrived before are not woken. The agent must hold the persona (`naive identity attach`). `--none` stops wakes. The woken agent can reply by text once the campaign is approved.

## release

```bash theme={"system"}
naive identity phone release --identity ava --phone pho_...
```

| Flag | Description |
| - | - |
| `--identity` | Persona id or name (required). |
| `--phone` | Number id. Also accepted as the second positional argument. |

> [!WARNING]
>
> `release` returns the number to the carrier's pool. It is **not recoverable** — re-provisioning will almost certainly give you a different number, and any campaign registration is lost with it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.