Home / Resources / API Reference

Project

Base route: /api/project

Create project variable

Creates a new variable specifically for the project. Unlike workspace variables, these are contained only within this project's scope.

Request

Parameters
projectId
string
required
The ID of the project where the variable will be created.
name
string
required
The name of the variable.
variableType
string
required
The data type (e.g., String, Sensitive).
Request body

POST /api/project/variable {   "projectId": "string",   "name": "string",   "description": "string",   "variableType": "string" }

Response

Parameters
variableId
string
The identifier generated for the new project variable.
Response body

{   "variableId": "string" }