While creating a ticket, you'll need to pass the sd-api-key and sd-dashboard-user-email in the header.
ENDPOINT
- POST /v1/ticket
REQUEST
- {
- "subject": "Ticket Subject",
- "description": "Ticket Description",
- "type": "incidents",
- "priority": "high",
- "accountId": "acc-...",
- "personId": "per-...",
- "transactionId": "txn-..."
- }
RESPONSE
- {
- "id": "3553",
- "subject": "Ticket Subject",
- "description": "Ticket Description",
- "status": "new",
- "type": "incidents",
- "priority": "high",
- "canBeSolved": false,
- "createdAt": "2022-01-31T21:22:49Z",
- "modifiedAt": "2022-01-31T21:22:49Z",
- "accountId": "acc-...",
- "personId": "per-...",
- "transactionId": "txn-..."
- }