Skip to main content
POST
Create a ticket

Authorizations

Authorization
string
header
required

An API credential from Settings → API, sent as Authorization: Bearer mdsk_api_.... Issued per workspace and shown once.

Headers

Idempotency-Key
string

Any unique string. Replays within 24 hours return the first response.

Body

application/json
body
string
required
Required string length: 1 - 50000
requester
object
required
priority
enum<string>
Available options:
low,
normal,
high,
urgent
category
string
Required string length: 1 - 60
language
string
Required string length: 2 - 35
Pattern: ^[A-Za-z]{2,8}(-[A-Za-z0-9]{1,8})*$

Response

The ticket was created.

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
reference
string
required
status
enum<string>
required
Available options:
new,
open,
pending,
resolved,
closed
priority
enum<string>
required
Available options:
low,
normal,
high,
urgent
category
string | null
required
source
enum<string>
required
Available options:
agent,
widget,
email,
api
language
string | null
required
requester
object | null
required
created_at
string
required
updated_at
string
required