Skip to Content
API ReferenceTickets

Retrieve specific ticket

Retrieve a support ticket by its ID.

Retrieve a support ticket by its ID.

GET
/v2/tickets/{ticket}

Retrieve a support ticket by its ID. This v2 route is store-scoped. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

ticket*integer

The ticket path parameter.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/tickets/1' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 1,    "title": "Payment methods",    "status": "OPEN",    "customer": {      "id": 125,      "email": "jamie.chen@example.com"    },    "reference": {      "type": null,      "id": null    },    "created_at": "2022-12-12T12:12:12.000000Z",    "updated_at": "2022-12-12T12:12:12.000000Z",    "store_id": 1,    "archived": 0,    "read_status": {      "customer": false,      "store": true    },    "order_id": null,    "reason": null,    "message_count": 0  }}
PATCH
/v2/tickets/{ticket}

Close, reopen, archive or restore a ticket in the selected store. Send status CLOSED to close or OPEN to reopen, and archived true to archive or false to restore; you may send both, and omitted fields stay unchanged. When you close a ticket you can record why with outcome, which is accepted only together with status CLOSED. Closing emails the customer that the ticket was closed, at most once an hour per ticket: reopening and closing again within the hour sends no second email. A closed ticket keeps its outcome. Sending the outcome it already has changes nothing; a different outcome, or an outcome for a ticket that was closed without one, returns 422 on outcome and nothing in the request is applied, so reopen the ticket first. Requires the ticket API-key ability and the ticket permission in your team role. Use the same optional Idempotency-Key and identical body after a lost response. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

ticket*integer

Header Parameters

Idempotency-Key?string

Reuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.

Length8 <= length <= 255
X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
status*string
Value in"OPEN""CLOSED"
archived?boolean
outcome?string

Why the ticket was closed: refunded, refunded_partial (partly refunded), delivered, no_action, duplicate or other. Only with status CLOSED.

Value in"refunded""refunded_partial""delivered""no_action""duplicate""other"

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://sell.app/api/v2/tickets/42' \  -H 'Idempotency-Key: project-library-2026-09-04' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "status": "CLOSED",  "outcome": "delivered",  "archived": true}'
{  "data": {    "id": 1,    "title": "Payment methods",    "status": "CLOSED",    "customer": {      "id": 125,      "email": "jamie.chen@example.com"    },    "reference": {      "type": null,      "id": null    },    "created_at": "2022-12-12T12:12:12.000000Z",    "updated_at": "2022-12-12T12:12:12.000000Z",    "store_id": 1,    "archived": 1,    "read_status": {      "customer": false,      "store": true    },    "order_id": null,    "reason": null,    "message_count": 0  }}