Skip to content

List my support tickets

GET
/support/tickets
curl --request GET \
--url https://example.com/support/tickets \
--cookie __Host-bottle.session_token=<__Host-bottle.session_token>

The signed-in person’s own Bottle Support tickets, most recently updated first, closed ones included: number, title, status, urgency, whether a reply is unread, and when each was opened and last updated. Never a colleague’s ticket, and never staff notes. Status: new (we’ve got it), open (we’re on it), waiting (waiting for you), fixed (fixed, check it works), closed.

Their own tickets

Media typeapplication/json
object
tickets
required
Array<object>
object
number
required
integer
> 0
title
required
string
status
required
string
Allowed values: new open waiting fixed closed
urgency
required
string
Allowed values: stopping_work slowing_down question
unread
required
boolean
openedAt
required
string format: date-time
updatedAt
required
string format: date-time
closedAt
required
string | null format: date-time
total
required
integer

Example

{
"tickets": [
{
"status": "new",
"urgency": "stopping_work"
}
]
}

Sign in required

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

An API key, or Bottle staff looking as the person

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

The request names somebody or something it may not

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Bottle Support did not answer

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}

Bottle Support is not switched on

Media typeapplication/json
object
error
required
string
message
required
string

Example

{
"error": "not_found",
"message": "Customer not found"
}