GET /support/tickets
Lists your support tickets (most recent first).
{ "ok": true, "tickets": [ { "...": "see ticket fields below" } ] }
POST /support/tickets
Creates a support ticket. Required: subject, message. Optional: type (contact, abuse, or support — defaults to support), and a related subdomain_id, subdomain, or fqdn (must be one of your own subdomains).
curl -X POST "https://www.20dragons.com/api/support/tickets" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"subject":"DNS record not applying","message":"My CNAME record has not appeared after 24 hours."}'
Returns HTTP 201 on success:
{ "ok": true, "ticket": { "...": "...", "messages": [ ] } }
GET /support/tickets/{id}
Retrieves a ticket by its id or ticket number, including its messages.
{ "ok": true, "ticket": { "...": "...", "messages": [ ] } }
POST /support/tickets/{id}/reply
Adds a reply to one of your own tickets. Required: message. A closed ticket cannot be replied to.
{ "ok": true, "ticket": { "...": "..." } }
Ticket object fields
A ticket object includes: id, ticket_number, type, status, priority, subject, requester_email, subdomain, archived, created_at, last_message_at, updated_at, and, on the detail endpoints, a messages array of { id, author_type, author_name, message, message_format, created_at }.