v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBVariables
Create a variable
Create a new variable.
post/projects/{project_id}/variables
Path parameters
project_idstring required
Project ID
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Request body
Example request
{
"name": "MY_VARIABLE",
"value": "Hello World"
}Response
Created
Example response
{
"name": "MY_VARIABLE",
"value": "Hello World",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}