Skip to main content
POST
/
organizations
/
{organization_id}
/
tickets
Create ticket
curl --request POST \
  --url https://api.example.com/organizations/{organization_id}/tickets/ \
  --header 'Content-Type: application/json' \
  --header 'X-Initdesk-Token: <api-key>' \
  --data '
{
  "subject": "<string>",
  "from_name": "<string>",
  "from_email": "jsmith@example.com",
  "inbox_id": 123,
  "description": "<string>",
  "description_html": "<string>",
  "created_by_role": "associate",
  "external_recipient_emails": [
    "jsmith@example.com"
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://developers.initdesk.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Initdesk-Token
string
header
required

Path Parameters

organization_id
string
required

Body

subject
string
required
Required string length: 1 - 255
from_name
string
required
Required string length: 1 - 255
from_email
string<email>
required
Required string length: 1 - 254
inbox_id
integer
write-only
description
string
description_html
string
created_by_role
enum<string>
default:associate
write-only
  • associate - Associate
  • customer - Customer
Available options:
associate,
customer
external_recipient_emails
string<email>[] | null

When provided as a list (empty or not), sets the ticket external CC list when CC email routing is enabled; omitted or null leaves it as the default empty list. The ticket requester (from_email) is always kept on the list.

Minimum string length: 1

Response

429

Hourly ticket creation limit exceeded for this organization.