Inbound Channels API

Inbound channels operations API

Retrieve your inbound channels

Returns the inbound channels for your account. Inbound channels allows you to use Channel Billing for calls to your Telnyx phone numbers. Please check the Telnyx Support Articles section for full information and examples of how to utilize Channel Billing.

SecuritybearerAuth
Responses
200

Inbound Channels Response

Response Schema: application/json
object
channels
integer

The current number of concurrent channels set for the account

record_type
string

Identifies the type of the response

401

Unauthorized

404

Resource not found

422

Unprocessable entity. Check message field in response for details.

get/phone_numbers/inbound_channels
Request samples
import telnyx
telnyx.api_key = "YOUR_API_KEY"

telnyx.PhoneNumbers.list_inbound_channel.list()
Response samples
application/json
{
  • "data": {
    • "channels": 7,
    • "record_type": "inbound_channels"
    }
}

Update inbound channels

Update the inbound channels for the account

SecuritybearerAuth
Request
Request Body schema: application/json
required

Inbound channels update

channels
required
integer

The new number of concurrent channels for the account

Responses
200

Expected Update response

Response Schema: application/json
object
channels
integer

The number of channels set for the account

record_type
string

Identifies the type of the response

default

Unexpected error

Response Schema: application/json
Array of objects
Array
code
required
string <int>
detail
string
meta
object
object
title
required
string
patch/phone_numbers/inbound_channels
Request samples
application/json
{
  • "channels": 7
}
Response samples
application/json
{
  • "data": {
    • "channels": 7,
    • "record_type": "inbound_channels"
    }
}