Create a comment for a porting order
POST/porting_orders/:id/comments
Creates a new comment for a porting order.
Request
Path Parameters
id uuidrequired
Porting Order id
- application/json
Body
required
body string
Responses
201: 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 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"body": "Please, let me know when the port completes"
}'
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"
}
}