Skip to main content

Retrieve a rejection

GET 
/portout/rejections/:code

Retrieve a specific port-out rejection.

Request

Path Parameters

    code integerrequired

    Identifies a rejection.

Responses

200: Successful response

404: Resource not found

500: Internal server error

Request samples


curl -L 'https://api.telnyx.com/v2/portout/rejections/:code' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"code": 1002,
"description": "Invalid PIN",
"reason_required": false
}
}