Skip to main content
POST
/
porting_orders
/
{id}
/
comments
JavaScript
import Telnyx from 'telnyx';

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

const comment = await client.portingOrders.comments.create('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

console.log(comment.data);
{
  "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"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Porting Order id

Body

application/json
body
string
Example:

"Please, let me know when the port completes"

Response

Successful response

data
object