Skip to main content
GET
/
io.pocketenv.sandbox.getTailscaleAuthKey
Get the Tailscale token for a sandbox.
curl --request GET \
  --url https://api.pocketenv.io/xrpc/io.pocketenv.sandbox.getTailscaleAuthKey \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "authKey": "<string>",
  "redacted": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

id
string
required

The sandbox ID.

Response

OK

id
string

Unique identifier of the Tailscale Auth Key.

authKey
string

The Tailscale auth key (redacted in API responses)

redacted
string

The redacted Auth Key.

createdAt
string<date-time>

The timestamp when the Tailscale Auth Key was created.

updatedAt
string<date-time>

The timestamp when the Tailscale Auth Key was last updated.