*REST API › Endpoint reference › Operations › Repair tickets*

# Get a repair ticket

> Returns the detail of a repair ticket with its lines: which element is repaired, its diagnosis and its price for the customer.

`GET /api/v1/repair-tickets/{ticketId}` — scope `repair-tickets:read`

Scope: `repair-tickets:read` · 120/min · Strict tenancy · Add-on (402) · If-None-Match · MCP: `filmo_repair_tickets_get`

## Authorizations

Bearer API key with the scope below. `repair-tickets:read`

## Headers

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `If-None-Match` | string | No | Conditional read: the `ETag` of the copy you already have. If the resource has not changed, the response is `304` with no body. |

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `ticketId` | string | Yes | Repair ticket identifier. |

## Request examples

*Get a repair ticket*

**cURL**

```bash
curl https://app.filmo.io/api/v1/repair-tickets/tick_8f2a1c \
  --header "Authorization: Bearer $FILMO_API_KEY"
```

**Node.js**

```javascript
fetch('https://app.filmo.io/api/v1/repair-tickets/tick_8f2a1c', {
  headers: {
    Authorization: 'Bearer YOUR_FILMO_API_KEY'
  }
})
```

**Python**

```python
import requests

requests.get(
    "https://app.filmo.io/api/v1/repair-tickets/tick_8f2a1c",
    headers={
      "Authorization": "Bearer YOUR_FILMO_API_KEY"
    }
)
```

## Response

Response schema: `RepairTicketDetailDto`

| Status | Description |
| --- | --- |
| 200 | Successful response. |
| 304 | Not modified: the `If-None-Match` sent matches the current `ETag`. No body; the copy you have is current. |
| 401 | Authentication failed (unauthorized, api_key_invalid, api_key_revoked, api_key_expired, api_key_owner_inactive, api_key_owner_not_admin). |
| 402 | Add-on required (addon_required): the account plan does not include the add-on this operation needs; `requiredAddon` names it. |
| 403 | Not allowed (insufficient_scope: the API key does not have the required scope, named in `requiredScope`; forbidden: the owner of the key lacks the permission the operation requires). `insufficient_scope` is answered before the request counts against the rate limit, so it carries no `RateLimit-*` headers; `forbidden` does. |
| 404 | Resource not found (not_found): it does not exist or is outside the scope of the API key. |
| 429 | Rate limit exceeded (rate_limited): retry after `Retry-After` seconds; `RateLimit-*` says which quota ran out. |
| 500 | Internal error (internal_error). |

**200**

| Name | Type | Description |
| --- | --- | --- |
| `data` | object | Detail of a repair ticket, with its lines. |
| `data.id` | string | Unique ticket identifier. |
| `data.number` | string | Ticket number, for example "RT-2026-0001". |
| `data.date` | string<date-time> | Issue date in ISO 8601 UTC. |
| `data.status` | string | Status of the ticket in its lifecycle. `draft`, `sent`, `partially_converted`, `fully_invoiced`, `closed` |
| `data.orderId` | string | Identifier of the order it comes from; null if it was created standalone. |
| `data.orderNumber` | string | Number of the order it comes from; null if it was created standalone. |
| `data.contactId` | string | Identifier of the responsible client; null if none has been assigned. |
| `data.contactName` | string | Name of the responsible client; null if not resolved. |
| `data.subTotal` | string | Sum of the lines before taxes, as a decimal string "1234.50". |
| `data.taxTotal` | string | Tax total, as a decimal string "1234.50". |
| `data.total` | string | Total including taxes, as a decimal string "1234.50". |
| `data.totalLines` | integer | Number of lines in the ticket. |
| `data.notes` | string | General remarks; null if it has none. |
| `data.createdAt` | string<date-time> | Creation date in ISO 8601 UTC. |
| `data.updatedAt` | string<date-time> | Last modification date in ISO 8601 UTC. |
| `data.projectId` | string | Identifier of the associated project; null if it has none. |
| `data.lines` | object[] | Ticket lines. |
| `data.lines.id` | string | Unique line identifier. |
| `data.lines.entityType` | string | Type of element being repaired: item, serializedItem (a specific unit), space or kit; null for a free line (a service, a charge). `item`, `serializedItem`, `space`, `kit` |
| `data.lines.entityId` | string | Identifier of the element being repaired; null if it is a free line. |
| `data.lines.entityName` | string | Name of the element being repaired; null if not resolved. |
| `data.lines.description` | string | What needs to be repaired. |
| `data.lines.diagnosis` | string | Technical diagnosis; null if none has been recorded. |
| `data.lines.quantity` | number | Affected units; null if not applicable. |
| `data.lines.unitPrice` | string | NET unit price quoted to the client, as a decimal string "1234.50". It is not the repair cost: that one is not published. null if the line has no price. |
| `data.lines.incidentId` | string | Identifier of the incident that originated this line; null if it does not come from one. |
| `data.lines.notes` | string | Line notes; null if it has none. |
| `data.sourceIncidentIds` | string[] | Identifiers of the incidents that originated the ticket. |
| `data.customFields` | object<string, any> | Custom field values by custom field identifier; the definitions are in `/api/v1/custom-fields`. |
| `meta` | object | Additional information about the response. |
| `meta.warnings` | object[] | Lifecycle warnings; present only when the operation is deprecated. |
| `meta.warnings.code` | string | Stable warning code. `deprecated` |
| `meta.warnings.message` | string | For people: what is deprecated, until when, and what to use. |
| `meta.warnings.sunset` | string | Day (YYYY-MM-DD) the operation stops being served. |
| `meta.warnings.replacement` | string | `operationId` of the operation to use instead, or null if there is none. |
| `meta.warnings.link` | string | Where the deprecation is documented (the changelog). |

*Example response · 200*

```json
{
  "data": {
    "id": "repair_ticket_9f3a2b",
    "number": "2026-0001",
    "date": "2026-09-01T08:00:00.000Z",
    "status": "draft",
    "orderId": "order_9f3a2b",
    "orderNumber": "2026-0001",
    "contactId": "contact_9f3a2b",
    "contactName": "Example contact name",
    "subTotal": "120.00",
    "taxTotal": "120.00",
    "total": "120.00",
    "totalLines": 1,
    "notes": "Example text.",
    "createdAt": "2026-09-01T08:00:00.000Z",
    "updatedAt": "2026-09-01T08:00:00.000Z",
    "projectId": "project_9f3a2b",
    "lines": [
      {
        "id": "line_9f3a2b",
        "entityType": "item",
        "entityId": "entity_9f3a2b",
        "entityName": "Example entity name",
        "description": "Example text.",
        "diagnosis": "Example diagnosis",
        "quantity": 1,
        "unitPrice": "120.00",
        "incidentId": "incident_9f3a2b",
        "notes": "Example text."
      }
    ],
    "sourceIncidentIds": [
      "source_incident_9f3a2b"
    ],
    "customFields": {
      "example": "example"
    }
  }
}
```

304: No body.

## Errors

| Status | Codes | Meaning |
| --- | --- | --- |
| 402 | `addon_required` | The account plan does not include the add-on this operation needs; `requiredAddon` names it. |
| 404 | `not_found` | It does not exist or is outside the scope of the API key. |

## Deprecation

This operation is not deprecated. Deprecations are announced with a Deprecation header and a sunset date.

---

Canonical URL: https://docs.filmo.io/rest-api/endpoint-reference/repair-tickets/get-a-repair-ticket  
Last updated: 2026-10-25