Get ticket
Retrieve a single ticket by ID.
Base URL
code
https://www.relaypilot.io/api/v1Authentication
Send the API key using one of the following headers:
http
Authorization: Bearer <API_KEY>or
code
X-API-Key: <API_KEY>If an endpoint requires authentication without an API key, it uses the current user session (browser session).
Scopes
API keys are scoped. Required scopes are listed per endpoint.
code
tickets:read
tickets:write
customers:read
customers:write
comments:read
comments:write
attachments:read
attachments:writeWrite scopes grant read access for the same resource.
Rate Limits
Rate limits are enforced per API key. Responses include:
code
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-Reset
Retry-AfterError Format
Errors follow a consistent response format:
json
{
"error": {
"code": "validation_error",
"message": "Invalid request body",
"details": {
"fields": [
{ "field": "workspaceId", "message": "Invalid UUID" }
]
},
"request_id": "req_abc123"
}
}Common error codes:
code
unauthorized
forbidden
validation_error
not_found
conflict
rate_limit_exceeded
internal_errorRequired Query Parameters
Most v1 endpoints require a workspaceId query parameter:
code
?workspaceId=<uuid>Get ticket
Retrieve a single ticket by ID.
Endpoint
http
GET /tickets/{ticketId}?workspaceId=...Scope: tickets:read
Last updated Jan 19, 2026