SellAuth

Tickets

Get Tickets

Retrieves the tickets.

GET
/v1/shops/{shopId}/tickets

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonOptional
pageinteger
perPageinteger

Must be at least 1. Must not be greater than 100.

orderColumnstring
Value in: "id" | "subject" | "created_at" | "closed_at"
orderDirectionstring
Value in: "asc" | "desc"
idstring
statusesarray<string>
customer_emailstring
created_at_startstring

Must be a valid date.

created_at_endstring

Must be a valid date. Must be a date after created_at_start.

closed_at_startstring

Must be a valid date.

closed_at_endstring

Must be a valid date. Must be a date after closed_at_start.

archivedstring

Path Parameters

shopIdRequiredinteger
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/tickets" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "page": 15,
    "perPage": 13,
    "orderColumn": "id",
    "orderDirection": "desc",
    "id": "excepturi",
    "statuses": [
      "open"
    ],
    "customer_email": "delta97@example.com",
    "created_at_start": "2025-07-28T11:08:58",
    "created_at_end": "2097-01-07",
    "closed_at_start": "2025-07-28T11:08:58",
    "closed_at_end": "2112-04-19",
    "archived": null
  }'

{
  "message": "No query results for model [App\\Models\\Shop] 1"
}

Create Ticket

Creates a new ticket.

POST
/v1/shops/{shopId}/tickets

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonRequired
customer_idRequiredstring
subjectRequiredstring

Must not be greater than 255 characters.

invoice_idstring

Path Parameters

shopIdRequiredinteger
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/tickets" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "customer_id": "animi",
    "subject": "ihhyvpwnyjvrrjvvkr",
    "invoice_id": null
  }'

Get Ticket

Retrieves a specific ticket.

GET
/v1/shops/{shopId}/tickets/{ticketId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
ticketIdRequiredstring
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/tickets/minima" \
  -H "Authorization: Bearer <token>"

{
  "message": "No query results for model [App\\Models\\Shop] 1"
}

Close Ticket

Closes a ticket.

POST
/v1/shops/{shopId}/tickets/{ticketId}/close

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
ticketIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/tickets/ut/close" \
  -H "Authorization: Bearer <token>"

Reopen Ticket

Reopens a ticket.

POST
/v1/shops/{shopId}/tickets/{ticketId}/reopen

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
ticketIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/tickets/laudantium/reopen" \
  -H "Authorization: Bearer <token>"

Archive Ticket

Archives a ticket.

POST
/v1/shops/{shopId}/tickets/{ticketId}/archive

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
ticketIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/tickets/et/archive" \
  -H "Authorization: Bearer <token>"

Unarchive Ticket

Unarchives a ticket.

POST
/v1/shops/{shopId}/tickets/{ticketId}/unarchive

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
ticketIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/tickets/in/unarchive" \
  -H "Authorization: Bearer <token>"

Send Ticket Message

Sends a message to a ticket.

POST
/v1/shops/{shopId}/tickets/{ticketId}/messages

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonRequired
contentRequiredstring

Must not be greater than 8000 characters.

Path Parameters

shopIdRequiredinteger
ticketIdRequiredstring
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/tickets/repellat/messages" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "sntevdjc"
  }'

DELETE
/v1/shops/{shopId}/tickets/{ticketId}/messages/{messageId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
ticketIdRequiredstring
messageIdRequiredstring
curl -X DELETE "https://api.sellauth.com/v1/shops/{shopId}/tickets/aliquam/messages/ad" \
  -H "Authorization: Bearer <token>"