Environment Variables
API Reference for ProcessMaker Environment Variable API
Returns all environmentVariables that the user has access to. For security, values are not included.
get
Fetch a collection of variables based on paged request and filter if provided
Authorizations
Query parameters
filterstringOptional
Filter results by string. Searches Name, Description, and Status. Status must match exactly. Others can be a substring.
order_bystringOptional
Field to order results by
order_directionstring · enumOptionalDefault:
asc
Possible values: per_pageintegerOptionalDefault:
10
includestringOptionalDefault:
Include data from related models in payload. Comma separated list.
""
Responses
200
list of environmentVariables
application/json
get
GET /api/1.0/environment_variables HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200
list of environmentVariables
{
"data": [
{
"name": "text",
"description": "text",
"value": "text",
"id": 1,
"created_at": "2025-07-30T11:20:43.931Z",
"updated_at": "2025-07-30T11:20:43.931Z"
}
],
"meta": {}
}
Creates a new global Environment Variable in the system
Authorizations
Body
namestringOptional
descriptionstringOptional
valuestringOptional
Responses
201
success
application/json
Responseall of
post
POST /api/1.0/environment_variables HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"name": "text",
"description": "text",
"value": "text"
}
201
success
{
"name": "text",
"description": "text",
"value": "text",
"id": 1,
"created_at": "2025-07-30T11:20:43.931Z",
"updated_at": "2025-07-30T11:20:43.931Z"
}
Return an environment variable instance Using implicit model binding, will automatically return 404 if variable now found
Authorizations
Path parameters
environment_variable_idintegerRequired
ID of environment_variables to return
Responses
201
success
application/json
Responseall of
get
GET /api/1.0/environment_variables/{environment_variable_id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
201
success
{
"name": "text",
"description": "text",
"value": "text",
"id": 1,
"created_at": "2025-07-30T11:20:43.931Z",
"updated_at": "2025-07-30T11:20:43.931Z"
}
Update an environment variable
Authorizations
Path parameters
environment_variable_idintegerRequired
ID of environment variables to update
Body
namestringOptional
descriptionstringOptional
valuestringOptional
Responses
200
success
application/json
Responseall of
put
PUT /api/1.0/environment_variables/{environment_variable_id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"name": "text",
"description": "text",
"value": "text"
}
200
success
{
"name": "text",
"description": "text",
"value": "text",
"id": 1,
"created_at": "2025-07-30T11:20:43.931Z",
"updated_at": "2025-07-30T11:20:43.931Z"
}
Authorizations
Path parameters
environment_variable_idintegerRequired
ID of environment_variables to return
Responses
200
success
delete
DELETE /api/1.0/environment_variables/{environment_variable_id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200
success
No content
Last updated