Cosmoner Docs
API Reference

Support Tickets API

Create, view, and manage support tickets.

List Tickets

GET /v1/support-tickets

Returns the support tickets of every project the caller belongs to. An API key sees only the tickets of the project it was issued for. Supports query filtering.

Auth: Required (scope: support:read)


Create Ticket

POST /v1/support-tickets

Creates a new support ticket in the project named by organizationId. An API key can only open tickets in the project it was issued for; any other project is refused with 403 API_KEY_WRONG_ORGANIZATION.

Auth: Required (scope: support:write)


Get Ticket

GET /v1/support-tickets/:id

Returns ticket details. A ticket outside the caller's projects, or outside the project an API key was issued for, returns 404 NOT_FOUND.

Auth: Required (scope: support:read)


Reply to Ticket

POST /v1/support-tickets/:id/replies

Adds a customer reply to the ticket. A ticket outside the caller's projects, or outside the project an API key was issued for, returns 404 NOT_FOUND.

Auth: Required (scope: support:write)


Update Ticket

PATCH /v1/support-tickets/:id

Updates the ticket status. A ticket outside the caller's projects, or outside the project an API key was issued for, returns 404 NOT_FOUND.

Auth: Required (scope: support:write)

On this page