List all comments of a porting order
GET/porting_orders/:id/comments
Returns a list of all comments of a porting order.
Request
Path Parameters
id uuidrequired
Porting Order id
Query Parameters
page[number] integer
Possible values: >= 1
Default value: 1
The page number to load
page[size] integer
Possible values: >= 1
and <= 250
Default value: 20
The size of the page
Responses
200: Successful response
- application/json
401: Unauthorized
422: Unprocessable entity. Check message field in response for details.
Request samples
curl -L 'https://api.telnyx.com/v2/porting_orders/:id/comments' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": [
{
"id": "f1486bae-f067-460c-ad43-73a92848f902",
"body": "Great experience so far",
"porting_order_id": "f1486bae-f067-460c-ad43-73a92848f902",
"user_type": "user",
"record_type": "porting_comment",
"created_at": "2021-03-19T10:07:15.527Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}