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

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