OrgsTickets

createOrgTicket

POST
/api/v1/orgs/{org_id}/tickets

Create a support ticket

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

org_id*string
Formatuuid

Request Body

application/json

Request Body

Support ticket record with status, comments, and metadata

comments?array<>

Discussion comments recorded on this support ticket

requester_email?string

Email of the requester

Formatemail
status?ticket_status

Current lifecycle status of this support ticket. enum: closed, open, pending, solved.

Value in

  • "closed"
  • "open"
  • "pending"
  • "solved"
subject*string

Short summary of the support request

type*string

Question (default) / bug / critical

Response Body

curl -X POST "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/tickets" \  -H "Content-Type: application/json" \  -d '{    "comment": "string",    "subject": "string",    "type": "question"  }'
{  "comments": [    {      "attachments": [        {          "content_type": "string",          "content_url": "string"        }      ],      "author": "string",      "comment": "string",      "created_at": 0    }  ],  "created_at": 0,  "id": "b069b358-4c97-5319-1f8c-7c5ca64d6ab1",  "requester": "string",  "status": "open",  "subject": "string",  "type": "string",  "updated_at": 0}