Skip to content

Get Ticket

Request

Returns a Ticket object matching {ticketId} from the token-linked Integration.

Operation ID: ticketing_get_ticket

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.

curl
curl -i -X GET \
  'https://api.synqly.com/v1/ticketing/tickets/{ticketId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Bodyapplication/json
resultobject(Ticket)required

A ticket. name holds the ticket title, key or record number. The value of name is provider dependent. For more detail, see provider specific documentation in the capabilities API.

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", "summary": "string", "creator": "string", "assignee": "string", "contact": "string", "description": "string", "priority": "URGENT", "due_date": "2019-08-24T14:15:22Z", "completion_date": "2019-08-24T14:15:22Z", "status": "string", "project": "string", "issue_type": "string", "parent": "string", "tags": [ … ], "attachments": [ … ], "custom_fields": {}, "unmapped": {}, "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "messages": { "problems": [ … ] }, "meta": { "stats": { … }, "api": { … }, "mapping": { … } } }