List eligible port-out rejection codes for a specific order
GET/portouts/rejections/:portout_id
Given a port-out ID, list rejection codes that are eligible for that port-out
Request
Path Parameters
portout_id stringrequired
Identifies a port out order.
Query Parameters
filter[code] integer
Filter rejections of a specific code
filter[code][in] integer[]
Filter rejections in a list of codes
Responses
200: Successful response
- application/json
404: Resource not found
422: Unprocessable entity. Check message field in response for details.
500: Internal server error
Request samples
curl -L 'https://api.telnyx.com/v2/portouts/rejections/:portout_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": [
{
"code": 1002,
"description": "Invalid PIN",
"reason_required": false
}
]
}