Create a Ticket

Creates a Help Desk ticket by passing the required ticket information.
Create a Ticket
 last updated: 
January 31, 2022

While creating a ticket, you'll need to pass the sd-api-key and sd-dashboard-user-email in the header.

ENDPOINT

  1. POST /v1/ticket

REQUEST

  1. {
  2.     "subject": "Ticket Subject",
  3.     "description": "Ticket Description",
  4.     "type": "incidents",
  5.     "priority": "high",
  6.     "accountId": "acc-...",
  7.     "personId": "per-..."
  8. }

RESPONSE

  1. {
  2.     "id": "3553",
  3.     "subject": "Ticket Subject",
  4.     "description": "Ticket Description",
  5.     "status": "new",
  6.     "type": "incidents",
  7.     "priority": "high",
  8.     "canBeSolved": false,
  9.     "createdAt": "2022-01-31T21:22:49Z",
  10.     "modifiedAt": "2022-01-31T21:22:49Z",
  11.     "accountId": "acc-...",
  12.     "personId": "per-..."
  13. }