> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vapi.ai/_mcp/server.

# Import a number from DIDWW

> Import a DIDWW phone number into Vapi as a BYO SIP trunk number. Assign the inbound trunk credential and an assistant, then test inbound and outbound calls.

## Before you begin

* An active DIDWW account is required. [Sign in](https://my.didww.com/users/sign_in) or [create an account](https://my.didww.com/users/sign_up#/users/sign_up).
* A completed [DIDWW SIP integration](/advanced/sip/didww) is required.
* A Vapi assistant for inbound calls is required.

## Prepare the DIDWW number

#### Purchase or select a DIDWW number

If needed, purchase a number from the [DIDWW Coverage page](https://my.didww.com/#/coverage). The number must support inbound calls and have available capacity. If you already own a suitable number, continue with it.

For detailed purchasing instructions, see [Buy Numbers](https://doc.didww.com/phone-numbers/buy-numbers/index.html).

#### Assign the inbound trunk

In the DIDWW User Panel, go to **Phone Numbers → My Numbers** and select the number. Choose **Batch Actions → Update Trunks**, select the Vapi inbound trunk, and click **Confirm**.

See [Assign inbound SIP trunk to your DID numbers](https://doc.didww.com/integrations/vapi/index.html#step-6-assign-inbound-sip-trunk-to-your-did-numbers) for the complete DIDWW procedure.

## Import the number

#### Dashboard

#### Open the import form

In the [Vapi dashboard](https://dashboard.vapi.ai), go to **Phone Numbers**, click **Create Phone Number**, and select **BYO SIP Trunk Number**.

#### Enter the DIDWW number

Enter the number in E.164 format, including the `+` prefix. Leave **Allow non-E164 phone numbers** off, select the **DIDWW Inbound Trunk** credential, and optionally add a label. Then click **Import SIP Phone Number**.

![Vapi Create Phone Number form with BYO SIP Trunk Number selected and the DIDWW Inbound Trunk credential chosen](/_fern-img/ac98fbcd56bf6cf262c9ea0200ba58e7db90104b9f04a2a2cbee14db76902e40.webp)

#### Assign an assistant

Open the imported number, select an assistant under **Inbound Settings**, and click **Save**.

![Vapi phone number Inbound Settings with an assistant selected to handle inbound calls](/_fern-img/64b90694a2c327fe88cbb0dfdd07b31a9f83db3946b04f0d3ff1e1379d4028d9.webp)

#### cURL

Send the request to the API region where your organization is hosted. Use `https://api.vapi.ai` for US organizations or `https://api.eu.vapi.ai` for EU organizations.

```bash
curl -X POST https://api.vapi.ai/phone-number \
  -H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "byo-phone-number",
    "name": "DIDWW Number",
    "number": "+14155550123",
    "numberE164CheckEnabled": true,
    "credentialId": "YOUR_CREDENTIAL_ID",
    "assistantId": "YOUR_ASSISTANT_ID"
  }'
```

Use the credential `id` returned when you created the `DIDWW Inbound Trunk`. The optional `assistantId` assigns the assistant that handles inbound calls; omit it if you plan to configure inbound routing later.

## Test the number

Call the DIDWW number from an external phone and confirm that the assigned assistant answers. You can also use the imported number for [outbound calls](/calls/outbound-calling) to an external PSTN number to test outbound calling.

If a call fails, verify that the number is assigned to the correct DIDWW inbound trunk and that all DIDWW signaling IPs are enabled for inbound calls in the Vapi credential.