Error
Project Variables
Add a project variable
Add a variable to a project. The value can be either a string or a JSON
object (default: string), as specified by the is_json boolean flag.
See the Variables
section in our documentation for more information.
POST
Add a project variable
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Name of the variable
Value of the variable
Arbitrary attributes attached to this resource
The variable is a JSON string
The variable is sensitive
The variable is visible during build
The variable is visible at runtime
Applications that have access to this variable
Last modified on June 16, 2026