FugokuFugoku Docs
Mask

Support

Manage support tickets

Support

Create and manage support tickets for your project. Tickets are forwarded to email and GitLab issues automatically when configured.

List Support Tickets

GET /v1/support

Query Parameters:

ParameterTypeDescription
statusstringFilter by status (open, pending, resolved, closed)
prioritystringFilter by priority (low, medium, high, urgent)
pageintegerPage number (default 1)
limitintegerItems per page (default 20, max 100)
curl https://api.fugoku.com/v1/support?status=open \
  -H "X-Fugoku-API-Key: $FUGOKU_API_TOKEN"

Get Support Ticket

GET /v1/support/:id
curl https://api.fugoku.com/v1/support/ticket-abc123 \
  -H "X-Fugoku-API-Key: $FUGOKU_API_TOKEN"

Create Support Ticket

POST /v1/support

Request Body:

FieldTypeRequiredDescription
subjectstringYesTicket subject (1–200 chars)
messagestringYesTicket message (1–10000 chars)
prioritystringNolow, medium, high, urgent (default medium)
categorystringNoCategory label
curl -X POST https://api.fugoku.com/v1/support \
  -H "X-Fugoku-API-Key: $FUGOKU_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "Instance won't boot",
    "message": "My instance inst-abc123 is stuck in creating state.",
    "priority": "high",
    "category": "compute"
  }'

Response (201):

{
  "data": {
    "id": "ticket-abc123",
    "type": "support-tickets",
    "attributes": {
      "number": "0042",
      "subject": "Instance won't boot",
      "status": "open",
      "priority": "high",
      "category": "compute"
    }
  }
}

Update Support Ticket

PATCH /v1/support/:id

Request Body:

FieldTypeDescription
statusstringNew status (open, pending, resolved, closed)
prioritystringNew priority (low, medium, high, urgent)
categorystringNew category
curl -X PATCH https://api.fugoku.com/v1/support/ticket-abc123 \
  -H "X-Fugoku-API-Key: $FUGOKU_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "status": "resolved" }'

Send Ticket Message

POST /v1/support/:id/messages

Adds a message to the ticket's conversation thread.

Request Body:

FieldTypeRequiredDescription
contentstringYesMessage content (1–10000 chars)
curl -X POST https://api.fugoku.com/v1/support/ticket-abc123/messages \
  -H "X-Fugoku-API-Key: $FUGOKU_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "content": "The issue is resolved, thank you." }'

Response:

{
  "data": {
    "id": "ticket-abc123",
    "type": "support-tickets",
    "attributes": {
      "messages": [
        {
          "id": "msg-1234-abc",
          "content": "The issue is resolved, thank you.",
          "author": {
            "name": "user-123",
            "email": "user@example.com",
            "isSupport": false
          },
          "timestamp": "2026-08-22T12:00:00.000Z"
        }
      ],
      "replies": 1
    }
  }
}

Ticket Attributes

AttributeTypeDescription
numberstringHuman-readable ticket number (e.g. 0042)
subjectstringTicket subject
messagestringOriginal ticket message
statusstringopen, pending, resolved, closed
prioritystringlow, medium, high, urgent
categorystring|nullCategory label
repliesintegerNumber of replies
messagesarrayConversation messages

On this page