Skip to main content
GET
/
portouts
/
rejections
/
{portout_id}
JavaScript
import Telnyx from 'telnyx';

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

const response = await client.portouts.listRejectionCodes('329d6658-8f93-405d-862f-648776e8afd7');

console.log(response.data);
{
  "data": [
    {
      "code": 1002,
      "description": "Invalid PIN",
      "reason_required": false
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

portout_id
string
required

Identifies a port out order.

Example:

"329d6658-8f93-405d-862f-648776e8afd7"

Query Parameters

filter
object

Consolidated filter parameter (deepObject style). Originally: filter[code], filter[code][in]

Response

Successful response

data
object[]