Skip to main content
GET
/
io.pocketenv.actor.getTerminalToken
Get a terminal token
curl --request GET \
  --url https://api.pocketenv.io/xrpc/io.pocketenv.actor.getTerminalToken \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

OK

token
string

An access token that can be used to authenticate with the terminal service. This token is typically short-lived and should be used immediately to establish a connection with the terminal.