Skip to main content
GET
/
io.pocketenv.variable.getVariable
cURL
curl --request GET \
  --url https://api.pocketenv.io/xrpc/io.pocketenv.variable.getVariable \
  --header 'Authorization: Bearer <token>'
{
  "variable": {
    "id": "<string>",
    "name": "<string>",
    "value": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pocketenv.io/llms.txt

Use this file to discover all available pages before exploring further.

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 ID of the variable for which to retrieve variables.

Response

OK

variable
object