POST
/
ticketing
/
comments
curl --request POST \
  --url https://api.panora.dev/ticketing/comments \
  --header 'Content-Type: application/json' \
  --header 'x-connection-token: <x-connection-token>' \
  --data '{
  "body": "<string>",
  "html_body": "<string>",
  "is_private": true,
  "creator_type": "<string>",
  "ticket_id": "<string>",
  "contact_id": "<string>",
  "user_id": "<string>",
  "attachments": [
    "<string>"
  ]
}'
{
  "message": "<string>",
  "error": "<string>",
  "statusCode": 123,
  "data": {
    "body": "<string>",
    "html_body": "<string>",
    "is_private": true,
    "creator_type": "<string>",
    "ticket_id": "<string>",
    "contact_id": "<string>",
    "user_id": "<string>",
    "attachments": [
      {
        "file_name": "<string>",
        "file_url": "<string>",
        "uploader": "<string>",
        "field_mappings": {},
        "id": "<string>",
        "remote_id": "<string>",
        "remote_data": {}
      }
    ],
    "id": "<string>",
    "remote_id": "<string>",
    "remote_data": {}
  }
}

Headers

x-connection-token
string
required

The connection token

Query Parameters

remote_data
boolean

Set to true to include data from the original Ticketing software.

Body

application/json
body
string
required

The body of the comment

html_body
string

The html body of the comment

is_private
boolean

The public status of the comment

creator_type
string

The creator type of the comment (either user or contact)

ticket_id
string

The uuid of the ticket the comment is tied to

contact_id
string

The uuid of the contact which the comment belongs to (if no user_id specified)

user_id
string

The uuid of the user which the comment belongs to (if no contact_id specified)

attachments
string[]

The attachements uuids tied to the comment

Response

200
application/json
statusCode
number
required
message
string
error
string
data
object