v47

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-181,0851,7264.5 MB
Phone Number Orders

Create a comment

post/comments

Request body

idstring uuid
bodystring
commenterstring
commenter_type'admin' | 'user'
comment_record_type'sub_number_order' | 'requirement_group'
comment_record_idstring uuid
read_atstring date-time

An ISO 8901 datetime string for when the comment was read.

created_atstring date-time

An ISO 8901 datetime string denoting when the comment was created.

updated_atstring date-time

An ISO 8901 datetime string for when the comment was updated.

Example request

{
  "id": "12ade33a-21c0-473b-b055-b3c836e1c292",
  "body": "Hi there, ....",
  "commenter": "user@company.com",
  "commenter_type": "user",
  "comment_record_type": "sub_number_order",
  "comment_record_id": "8ffb3622-7c6b-4ccc-b65f-7a3dc0099576",
  "read_at": "2018-01-01T00:00:00.000000Z",
  "created_at": "2018-01-01T00:00:00.000000Z",
  "updated_at": "2018-01-01T00:00:00.000000Z"
}

Response

A Comment Response

Example response

{
  "data": {
    "id": "12ade33a-21c0-473b-b055-b3c836e1c292",
    "body": "Hi there, ....",
    "commenter": "user@company.com",
    "commenter_type": "user",
    "comment_record_type": "sub_number_order",
    "comment_record_id": "8ffb3622-7c6b-4ccc-b65f-7a3dc0099576",
    "read_at": "2018-01-01T00:00:00.000000Z",
    "created_at": "2018-01-01T00:00:00.000000Z",
    "updated_at": "2018-01-01T00:00:00.000000Z"
  }
}