---
title: "Create an Incoming Phone Number"
method: POST
path: "/Accounts/{AccountSid}/IncomingPhoneNumbers"
tags: ["Incoming Phone Numbers"]
---

# Create an Incoming Phone Number

`POST /Accounts/{AccountSid}/IncomingPhoneNumbers`

Purchase and provision a new incoming phone number.

#### Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Numbers_.

[Learn more about API scopes](/docs/platform/your-signalwire-api-space).

## Path parameters

- `AccountSid` string, uuid, required — Universal Unique Identifier.

## Response `201`

Response returned when an incoming phone number is created.

- IncomingPhoneNumber — Incoming phone number model.
  - `account_id` string, uuid, required — Universal Unique Identifier.
  - `account_sid` string, uuid, required — Universal Unique Identifier.
  - `address_requirements` 'none' | 'any' | 'local' | 'foreign', required — Address requirements.
  - `address_sid` string, nullable, required — The unique identifier for the address associated with this phone number. Always null.
  - `api_version` string, required — The version of the SignalWire API.
  - `beta` boolean, required — New numbers on SignalWire are marked as beta. Always false.
  - `capabilities` IncomingPhoneNumberCapabilities, required — Phone number capabilities.
    - `voice` boolean, required — Whether or not voice is enabled.
    - `sms` boolean, required — Whether or not SMS is enabled.
    - `mms` boolean, required — Whether or not MMS is enabled.
    - `fax` boolean, required — Whether or not fax is enabled.
  - `country_code` string, required — The ISO 3166-1 alpha-2 country code for this phone number.
  - `date_created` string, required — The date, in RFC 2822 format, this phone number was created.
  - `date_updated` string, required — The date, in RFC 2822 format, this phone number was updated.
  - `emergency_address_sid` string, nullable, required — The unique identifier of the address associated with E911 for this phone number, or null if not set.
  - `emergency_status` string, required — Whether the phone route has an active E911 address associated. 'Active' or 'Inactive'.
  - `friendly_name` string, required — A formatted version of the number.
  - `identity_sid` string, nullable, required — The unique identifier for the identity associated with this phone number. Always null.
  - `origin` 'signalwire' | 'hosted', required — Phone number origin.
  - `phone_number` string, required — The incoming number in E.164 format.
  - `sid` string, required — The unique identifier for this phone number.
  - `sms_application_sid` string, nullable, required — The unique identifier for the application associated with SMS handling on this phone number, or null if not set.
  - `sms_fallback_method` string, required — Whether the request to `SmsFallbackUrl` is a `GET` or a `POST`.
  - `sms_fallback_url` string, nullable, required — The URL to request if errors occur when fetching SmsUrl, or null if not set.
  - `sms_method` string, required — Whether the request to SmsUrl is a `GET` or a `POST`.
  - `sms_url` string, nullable, required — The URL to request when an incoming SMS is received, or null if not set.
  - `status_callback` string, nullable, required — The URL to request to pass status updates to, or null if not set.
  - `status_callback_method` string, required — Whether the request to StatusCallback is a `GET` or a `POST`.
  - `trunk_sid` string, nullable, required — The unique identifier for the Trunk associated with this phone number. Always null.
  - `uri` string, required — The URI for this number.
  - `verification_status` string — The verification status for toll-free numbers. Only present for toll-free numbers.
  - `voice_application_sid` string, nullable, required — The unique identifier for the application associated with call handling on this phone number, or null if not set.
  - `voice_caller_id_lookup` boolean, nullable, required — Whether or not to look up a caller's name in the database. Always null.
  - `voice_fallback_method` string, required — Whether the request to VoiceFallbackUrl is a `GET` or a `POST`.
  - `voice_fallback_url` string, nullable, required — The URL to request if errors occur when fetching `Url`, or null if not set.
  - `voice_method` string, required — Whether the request to Url is a `GET` or a `POST`.
  - `voice_url` string, nullable, required — The URL to request when an incoming call is received, or null if not set.

## Other responses

- `400` — The request was invalid or cannot be processed. Check the error details for more information.
- `401` — Authentication failed. Please verify your credentials and try again.
- `422` — The request could not be processed due to validation errors. Check the error details for more information.

---

[API](https://skmtc.net/signalwire/apis/compatibility-api.md) · [All operations](https://skmtc.net/signalwire/apis/compatibility-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signalwire/compatibility-api/revisions/e6faba43acd7/schema)
