4.3.Show a ticket — GET /v1/ats/tickets/:id

4.3.Show a ticket — GET /v1/ats/tickets/:id

Returns a single ticket resource by ID. Optionally embeds the ticket's posts and/or manager notes inline in the response.

Query parameters:

include

Comma-separated list of embedded resources to include. Supported values are posts (published replies, all editions) and notes (manager notes, Pro only). Example: ?include=posts,notes.

Example request:

GET /api/index.php/v1/ats/tickets/42?include=postsAuthorization: Bearer <token>Accept: application/vnd.api+json

Example response (abbreviated):

{  "jsonapi": { "version": "1.0" },  "data": {    "type": "tickets",    "id": "42",    "attributes": {      "id": 42,      "catid": 13,      "title": "Cannot log in after password reset",      "alias": "cannot-log-in-after-password-reset",      "status": "O",      "public": 0,      "priority": 5,      "origin": "web",      "assigned_to": 0,      "assigned_to_info": null,      "timespent": 0,      "language": "*",      "tags": [],      "created": "2026-04-01T09:23:00+00:00",      "created_by": 851,      "created_by_info": {        "id": 851,        "username": "johndoe",        "name": "John Doe",        "email": "[email protected]",        "groups": ["Registered"],        "is_manager": false      },      "modified": "2026-04-01T09:23:00+00:00",      "modified_by": 851,      "modified_by_info": { ... },      "enabled": 1,      "params": {},      "posts": [        {          "id": 101,          "ticket_id": 42,          "content_html": "<p>I cannot log in after using the password reset...</p>",          "origin": "web",          "timespent": 0,          "created": "2026-04-01T09:23:00+00:00",          "created_by": 851,          "enabled": 1        }      ]    },    "relationships": {      "category": { "data": { "type": "categories", "id": "13" } },      "created_by": { "data": { "type": "users", "id": "851" } }    }  }}

HTTP codes:

200 OK

Returns the ticket resource.

403 Forbidden

The authenticated user is not an ATS manager, or the ticket ID does not exist.