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

Authorizations

Authorization
string
header
required

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

Query Parameters

sandboxId
string

The ID of the sandbox for which to retrieve variables.

limit
integer

The maximum number of variables to return.

Required range: x >= 1
offset
integer

The number of variables to skip before starting to collect the result set.

Required range: x >= 0

Response

OK

variables
object[]
total
integer
Required range: x >= 0