Skip to content

Create Comment

Request

Creates a comment on the ticket matching {ticketId} from the token-linked Integration.

Operation ID: ticketing_create_comment

Security
BearerAuth
Path
ticketIdstring(Id)required
Query
metaArray of strings

Add metadata to the response by invoking meta functions. Documentation for meta functions is available. Not all meta functions are available at every endpoint.

Bodyapplication/jsonrequired
contentstringrequired

The content of the comment.

creatorstring or null

Email address of user who created this ticket. Required by PagerDuty. Not supported by Jira, ServiceNow, or Torq.

curl
curl -i -X POST \
  'https://api.synqly.com/v1/ticketing/tickets/{ticketId}/comments' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "content": "string"
  }'

Responses

Bodyapplication/json
resultobject(Comment)required

Comment on a ticket.

messagesobject or null(MessagesResponse)

Additional messages from the service response that may be helpful to the client.

metaobject or null(MetaResponse)

Various metadata about the results organized by group, then type, then field.

Response
{ "result": { "id": "string", "ticket_id": "string", "creator": "string", "content": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "custom_fields": {}, "unmapped": {} }, "messages": { "problems": [ … ] }, "meta": { "stats": { … }, "api": { … }, "mapping": { … } } }