Skip to content

Sign the person in to Bottle Support

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

A five-minute token for Bottle Support

Media typeapplication/json
object
token
required
string
>= 1 characters
expiresAt
required
string format: date-time
supportOrigin
required
string format: uri

Example generated

{
"token": "example",
"expiresAt": "2026-04-15T12:00:00Z",
"supportOrigin": "https://example.com"
}

Sign in required

Media typeapplication/json
object
error
required
string
message
required
string

Example

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

Bottle staff looking as the person, or no membership

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