Skip to content

API reference

Tickets

Support threads buyers open from their order or account. Replies email the buyer.

Endpoints

GET/ticketstickets:read

List tickets.

Query parameters
Query parametersTypeDescription
statusType: open | answered | closed
emailType: stringBuyer email contains this text.
limitType: 1..100Page size. Default 25.
cursorType: stringnextCursor from the previous page.
curl https://api.sellhidden.com/v1/tickets \
  -H "Authorization: Bearer hsk_live_…"

GET/tickets/{id}tickets:read

Get a ticket. With its full thread; fromBuyer tells you who wrote each message.

curl https://api.sellhidden.com/v1/tickets/ID \
  -H "Authorization: Bearer hsk_live_…"
200 OKjson
{
  "ok": true,
  "ticket": {
    "id": "clx…",
    "orderId": "clx…",
    "buyerEmail": "buyer@example.com",
    "subject": "Key not activating",
    "status": "answered",
    "messageCount": 2,
    "lastMessageAt": "2026-09-26T11:00:00.000Z",
    "createdAt": "2026-09-26T10:30:00.000Z",
    "messages": [
      { "id": "clx…", "fromBuyer": true, "body": "The key says invalid.", "createdAt": "2026-09-26T10:30:00.000Z" },
      { "id": "clx…", "fromBuyer": false, "body": "Try again without the dashes.", "createdAt": "2026-09-26T11:00:00.000Z" }
    ]
  }
}

POST/tickets/{id}/messagestickets:writeIdempotency-Key201

Reply to a ticket. The ticket becomes answered and the buyer is emailed. A closed ticket must be reopened first.

Body
BodyTypeDescription
bodyrequiredType: stringUp to 10,000 characters.
curl -X POST \
  https://api.sellhidden.com/v1/tickets/ID/messages \
  -H "Authorization: Bearer hsk_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"body":"Sorry about that. A new key is on its way."}'

PATCH/tickets/{id}tickets:write

Change the status.

Body
BodyTypeDescription
statusrequiredType: open | answered | closed
curl -X PATCH https://api.sellhidden.com/v1/tickets/ID \
  -H "Authorization: Bearer hsk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"status":"open"}'

POST/tickets/{id}/closetickets:writeIdempotency-Key

Close a ticket.

curl -X POST \
  https://api.sellhidden.com/v1/tickets/ID/close \
  -H "Authorization: Bearer hsk_live_…" \
  -H "Idempotency-Key: $(uuidgen)"

Get help

Send us the endpoint, the request or delivery id and the response you got. Security findings go through responsible disclosure. Live platform status is on the support page.

See also