Skip to main content
PATCH
/
inbound_channels
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const inboundChannel = await client.inboundChannels.update({ channels: 7 });

console.log(inboundChannel.data);
{
  "data": {
    "channels": 7,
    "record_type": "inbound_channels"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Voice channels update

channels
integer
required

The new number of concurrent channels for the account

Example:

7

Response

Expected Update response

data
object