Support Tickets API

Built-in ticketing system for tracking issues, requests, and incidents.

List Tickets

GET /api/v1/tickets
[
  {
    "id": "tkt_a1b2c3d4",
    "subject": "Droplet not starting",
    "description": "My droplet has been in provisioning state for 10 minutes",
    "status": "open",
    "priority": "high",
    "created_at": "2024-01-15T10:30:00Z"
  }
]

Create a Ticket

POST /api/v1/tickets
subject
string
required
Brief description of the issue
description
string
required
Detailed description
priority
string
Priority: low, medium, high, or critical
{
  "subject": "Database connection timeout",
  "description": "PostgreSQL instance db_abc123 is returning connection timeout errors since 2pm",
  "priority": "high"
}

Get a Ticket

GET /api/v1/tickets/{id}

Update a Ticket

PATCH /api/v1/tickets/{id}
{
  "status": "resolved",
  "priority": "medium"
}

Ticket Comments

List Comments

GET /api/v1/tickets/{id}/comments

Add a Comment

POST /api/v1/tickets/{id}/comments
{
  "body": "Investigated the issue. Root cause was a misconfigured network policy."
}

Ticket Status

StatusDescription
openTicket is new
in_progressBeing worked on
resolvedIssue has been fixed
closedTicket is closed