POST
/
ticketing
/
tickets
curl --request POST \
  --url https://api.panora.dev/ticketing/tickets \
  --header 'Content-Type: application/json' \
  --header 'x-connection-token: <x-connection-token>' \
  --data '{
  "name": "<string>",
  "status": "<string>",
  "description": [
    "<string>"
  ],
  "due_date": "2023-11-07T05:31:56Z",
  "type": "<string>",
  "parent_ticket": "<string>",
  "tags": [
    "<string>"
  ],
  "completed_at": "2023-11-07T05:31:56Z",
  "priority": "<string>",
  "assigned_to": [
    "<string>"
  ],
  "comment": [
    "<string>"
  ],
  "account_id": "<string>",
  "contact_id": "<string>",
  "field_mappings": {}
}'
{
  "message": "<string>",
  "error": "<string>",
  "statusCode": 123,
  "data": {
    "name": "<string>",
    "status": "<string>",
    "description": [
      "<string>"
    ],
    "due_date": "2023-11-07T05:31:56Z",
    "type": "<string>",
    "parent_ticket": "<string>",
    "tags": [
      "<string>"
    ],
    "completed_at": "2023-11-07T05:31:56Z",
    "priority": "<string>",
    "assigned_to": [
      "<string>"
    ],
    "comment": [
      "<string>"
    ],
    "account_id": "<string>",
    "contact_id": "<string>",
    "field_mappings": {},
    "id": "<string>",
    "remote_id": "<string>",
    "remote_data": {}
  }
}

Headers

x-connection-token
string
required

The connection token

Query Parameters

remote_data
boolean

Set to true to include data from the original Ticketing software.

Body

application/json
name
string
required

The name of the ticket

description
string[]
required

The description of the ticket

field_mappings
object
required
status
string

The status of the ticket

due_date
string

The date the ticket is due

type
string

The type of the ticket

parent_ticket
string

The uuid of the parent ticket

tags
string[]

The tags names of the ticket

completed_at
string

The date the ticket has been completed

priority
string

The priority of the ticket

assigned_to
string[]

The users uuids the ticket is assigned to

comment
string[]

The users uuids the ticket is assigned to

account_id
string

The uuid of the account which the ticket belongs to

contact_id
string

The uuid of the contact which the ticket belongs to

Response

200
application/json
statusCode
number
required
message
string
error
string
data
object