Skip to main content
POST
Open a ticket

Authorizations

Authorization
string
header
required

API token (okt_...) or dashboard JWT

Headers

Idempotency-Key
string

8-128 chars of [A-Za-z0-9_.:-]. Same key and body replays the stored response for 24h; same key with another body returns 422.

Pattern: ^[\w.:-]{8,128}$
X-Request-ID
string

Correlation id (1-128 chars of [A-Za-z0-9_.-]). Echoed in the response; generated when absent or unsafe.

Pattern: ^[\w.-]{1,128}$

Body

application/json
subject
string
Maximum string length: 300
description
string
Maximum string length: 20000
phone
string
Maximum string length: 32
email
string<email>
Maximum string length: 254
name
string
Maximum string length: 200
externalId
string
Maximum string length: 200

Response

Duplicate of an existing ticket

success
boolean
required
requestId
string
required
timestamp
string<date-time>
required
data
any
required
meta
object

Pagination: { limit, nextCursor } or { page, limit, total }