Environment Variables
API Reference for ProcessMaker Environment Variable API
Returns all environmentVariables that the user has access to. For security, values are not included.
Fetch a collection of variables based on paged request and filter if provided
Filter results by string. Searches Name, Description, and Status. Status must match exactly. Others can be a substring.
Field to order results by
asc
Possible values: 10
Include data from related models in payload. Comma separated list.
""
list of environmentVariables
GET /api/1.0/environment_variables HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
list of environmentVariables
{
"data": [
{
"name": "text",
"description": "text",
"value": "text",
"id": 1,
"created_at": "2025-08-31T05:12:56.335Z",
"updated_at": "2025-08-31T05:12:56.335Z"
}
],
"meta": {}
}
Creates a new global Environment Variable in the system
success
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"
}
success
{
"name": "text",
"description": "text",
"value": "text",
"id": 1,
"created_at": "2025-08-31T05:12:56.335Z",
"updated_at": "2025-08-31T05:12:56.335Z"
}
Return an environment variable instance Using implicit model binding, will automatically return 404 if variable now found
ID of environment_variables to return
success
GET /api/1.0/environment_variables/{environment_variable_id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
success
{
"name": "text",
"description": "text",
"value": "text",
"id": 1,
"created_at": "2025-08-31T05:12:56.335Z",
"updated_at": "2025-08-31T05:12:56.335Z"
}
Update an environment variable
ID of environment variables to update
success
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"
}
success
{
"name": "text",
"description": "text",
"value": "text",
"id": 1,
"created_at": "2025-08-31T05:12:56.335Z",
"updated_at": "2025-08-31T05:12:56.335Z"
}
ID of environment_variables to return
success
No content
DELETE /api/1.0/environment_variables/{environment_variable_id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
success
No content
Last updated