# Twilio - Routes API

> Twilio - Routes API on Apizie: 6 endpoints (Fetch the Inbound Processing Region assigned to a phone number., Assign an Inbound Processing Region to a phone number., GET /v2/SipDomains/{SipDomain}, POST /v2/SipDomains/{SipDomain}, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/communication:twilio-twilio-routes-v2/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `communication:twilio-twilio-routes-v2`
- Category: Communication
- Status: byok
- Source: https://support.twilio.com
- Page: https://apizie.tech/api/communication/twilio-twilio-routes-v2
- OpenAPI: https://apizie.tech/api/communication/twilio-twilio-routes-v2/openapi.json

This is the public Twilio REST API.

## Endpoints

### Fetch the Inbound Processing Region assigned to a phone number.
`GET https://apizie.tech/v1/communication:twilio-twilio-routes-v2/fetch-phone-number` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| PhoneNumber | string | yes | The phone number in E.164 format |

### Assign an Inbound Processing Region to a phone number.
`POST https://apizie.tech/v1/communication:twilio-twilio-routes-v2/update-phone-number` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| PhoneNumber | string | yes | The phone number in E.164 format |
| body | object | no | Form fields as a JSON object |

### GET /v2/SipDomains/{SipDomain}
`GET https://apizie.tech/v1/communication:twilio-twilio-routes-v2/fetch-sip-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SipDomain | string | yes |  |

### POST /v2/SipDomains/{SipDomain}
`POST https://apizie.tech/v1/communication:twilio-twilio-routes-v2/update-sip-domain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SipDomain | string | yes |  |
| body | object | no | Form fields as a JSON object |

### Fetch the Inbound Processing Region assigned to a SIP Trunk.
`GET https://apizie.tech/v1/communication:twilio-twilio-routes-v2/fetch-trunks` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SipTrunkDomain | string | yes | The absolute URL of the SIP Trunk |

### Assign an Inbound Processing Region to a SIP Trunk
`POST https://apizie.tech/v1/communication:twilio-twilio-routes-v2/update-trunks` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| SipTrunkDomain | string | yes | The absolute URL of the SIP Trunk |
| body | object | no | Form fields as a JSON object |

## Example
```
curl "https://apizie.tech/v1/communication:twilio-twilio-routes-v2/fetch-phone-number" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Twilio - Routes API?
Create a free Apizie key, then send GET https://apizie.tech/v1/communication:twilio-twilio-routes-v2/fetch-phone-number with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Twilio - Routes API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Twilio - Routes itself also needs your own key from twilio.

### Can AI agents use the Twilio - Routes API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key communication:twilio-twilio-routes-v2.

### What is the status of the Twilio - Routes API?
Needs your own provider key (bring your own key)
