Skip to main content
POST
/
tickets
Create a ticket
curl --request POST \
  --url https://api.shoppex.io/dev/v1/tickets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "title": "<string>",
  "message": "<string>",
  "invoice_id": "<string>"
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Use your API key with the Bearer scheme. Get your key from Dashboard → Settings → API Keys. Format: Authorization: Bearer shx_...

Body

application/json
email
string<email>
required

Customer email address

title
string
required

Ticket title (2-30 characters)

Required string length: 2 - 30
message
string
required

Initial message (2-2000 characters)

Required string length: 2 - 2000
invoice_id
string

Optional related invoice ID

Response

Default Response

data
object