Skip to content

List my support tickets that are waiting on me

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

The signed-in person’s own tickets that need them: an unread reply from Bottle support, a ticket waiting for their answer, or a fix for them to check. Each has the latest reply from Bottle support, who sent it and when. Never staff notes.

Their tickets that need them

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
updatedAt
required
string format: date-time
reasons
required
Array<string>
>= 1 items
Allowed values: unread_reply waiting_for_you check_fix
latestReply
required
object
from
required
object
kind
required
string
Allowed values: customer staff agent
name
required
string
text
required
string
sentAt
required
string format: date-time
total
required
integer

Example

{
"tickets": [
{
"status": "new",
"urgency": "stopping_work",
"reasons": [
"unread_reply"
],
"latestReply": {
"from": {
"kind": "customer"
}
}
}
]
}

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"
}