Skip to content

The session token a console user reads with: everything on the stream, landing nothing. Any member of the tenant may read its sessions.

POST
/console/sessions/{id}/token
curl --request POST \
--url https://api.canopyhq.dev/console/sessions/000000000000000000000000000000000000000000000000000000000000000000000000/token \
--header 'Authorization: Bearer <token>'
id
required

A stream id: 72 hex chars, the shard then the owner digest.

string

The session to read.

A read-only token for the session.

Media typeapplication/json
object
expires
required
integer format: int64
session
required

A stream id: 72 hex chars, the shard then the owner digest.

string
token
required
string
Example
{
"session": "000000000000000000000000000000000000000000000000000000000000000000000000"
}

No console token, or one that did not verify.

No such session under this tenant.