Fetch workspace variable
Fetch the variable with fir this key.
Request schema
Path parameters
workspace_id
integerrequired
ID of the workspace
variable_key
stringrequired
Key of the variable
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Http + 1.1
GET
https://app.getcensus.com/api/v1/workspaces/{workspace_id}/application_variables/{variable_key}
GET /api/v1/workspaces/{workspace_id}/application_variables/{variable_key} HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
Successfully fetched the workspace variable.
401
Invalid credentials for the requested resource.
403
The feature you're trying to use is not available for your organization.
404
Resource not found.
200
status
stringrequired
The outcome of the fetch request
enum:
data
objectrequired
The key, value, and secret status of a workspace variable
key
stringrequired
Keys cannot contain whitespaces
value
string | integer | booleanrequired
secret
booleanrequired
Whether this variable contains secret or sensitive information, like a password. Secret variables can only be used in secret connection credentials.
401
status
integer
HTTP status code.
enum:
403
status
integer
HTTP status code.
enum:
message
string
Error message.
example:
404
status
integer
HTTP status code.
enum:
{ "status": "success", "data": { "key": "string", "value": "string", "secret": true } }