Create a ticket in a ticketing platform using Panora

We assume for this tutorial that you have a valid Panora API Key, and a connection_token. Find help here.

1

You can find the Typescript SDK here

2

Setup your API Key in your code:

import { Panora } from '@panora/sdk';
const panora = new Panora({ apiKey: process.env.API_KEY });
3

Create a ticket in your ticketing platform:

In this example, we will create a ticket in a ticketing platform. Visit other sections of the documentation to find category-specific examples
curl --request POST \
--url https://api.panora.dev/ticketing/tickets \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--header 'x-connection-token: <connection_token>' \
--data '{
"subject": "Issue with login",
"description": "User is unable to login with correct credentials",
"priority": "high",
"status": "open",
"assignee": "support_agent"
}'