GET
/
workspaces
/
{workspace_id}
/
application_variables
/
{variable_key}
curl --request GET \
  --url https://app.getcensus.com/api/v1/workspaces/{workspace_id}/application_variables/{variable_key} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "key": "<string>",
    "value": "<string>",
    "secret": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.

Path Parameters

workspace_id
integer
required

ID of the workspace

variable_key
string
required

Key of the variable

Response

200
application/json
Successfully fetched the workspace variable.
status
enum<string>
required

The outcome of the fetch request

Available options:
success
Example:

"success"

data
object
required

The key, value, and secret status of a workspace variable