Variables
Returns available built-in and custom variables.
Token-based authentication with required prefix "Token"
value- Valueevaluate- Evaluate
Authentication credentials were missing or invalid.
GET /api/v2/variables/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
[
{
"key": "text",
"description": null,
"isBuiltIn": true,
"type": "value"
}
]Create a custom variable in the default run profile.
Token-based authentication with required prefix "Token"
value- Valueevaluate- Evaluate
falsevalue- Valueevaluate- Evaluate
Request body failed validation.
Authentication credentials were missing or invalid.
POST /api/v2/variables/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 78
"key='text'&value=null&type='value'&isSecret=false&description=null"{
"key": "text",
"description": null,
"isBuiltIn": true,
"type": "value",
"webappUrl": "text"
}Returns a custom variable from the default run profile by key.
Token-based authentication with required prefix "Token"
value- Valueevaluate- Evaluate
Authentication credentials were missing or invalid.
Resource not found.
GET /api/v2/variables/{key}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"key": "text",
"description": null,
"isBuiltIn": true,
"type": "value"
}Partially update a custom variable in the default run profile by key.
Token-based authentication with required prefix "Token"
value- Valueevaluate- Evaluate
value- Valueevaluate- Evaluate
Request body failed validation.
Authentication credentials were missing or invalid.
Resource not found.
PATCH /api/v2/variables/{key}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 64
"value=null&type='value'&isSecret=true&description=null"{
"key": "text",
"description": null,
"isBuiltIn": true,
"type": "value"
}Last updated
Was this helpful?
