The IncomingCarrier Object
| Attribute | Type | Description |
|---|---|---|
carrier_id | string | Unique identifier for the carrier |
name | string | Name of the incoming carrier |
ip_set | string | Comma-separated list of IP addresses |
voice | boolean | Supports voice calls |
sms | boolean | Supports SMS messages |
resource_uri | string | URI to the carrier resource |
Example Object
Create an Incoming Carrier
Add a new incoming carrier to your account.Arguments
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Carrier name. Allowed: letters, numbers, hyphen, underscore |
ip_set | string | Yes | Comma-separated IP addresses for incoming calls |
Example
Response
List All Incoming Carriers
Returns all incoming carriers for your account.Query Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | Filter by carrier name |
limit | integer | Results per page (max 20) |
offset | integer | Pagination offset |
Example
Response
Retrieve an Incoming Carrier
Get details of a specific incoming carrier.Example
Update an Incoming Carrier
Modify an existing incoming carrier.Arguments
| Parameter | Type | Description |
|---|---|---|
name | string | New carrier name |
ip_set | string | New comma-separated IP addresses (replaces existing) |
Example
Delete an Incoming Carrier
Remove an incoming carrier from your account.Example
Response
Add Number from Your Carrier
After creating an incoming carrier, add phone numbers from that carrier to your Plivo account.Arguments
| Parameter | Type | Required | Description |
|---|---|---|---|
numbers | string | Yes | Comma-separated phone numbers to add |
carrier | string | Yes | The carrier_id of your incoming carrier |
region | string | Yes | Region name (e.g., “United States”) |
number_type | string | No | local, national, mobile, or tollfree |
app_id | string | No | Application to assign to numbers |
Example
Related
- Account Phone Numbers - Manage your numbers
- Phone Numbers - Search and buy Plivo numbers