Flow Version Variables
Creates a new variable for a flow version. Requires a type and key, and optionally accepts a value, date_format, and secret flag.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Validation Error
Too Many Requests. The rate limit for this user has been reached.
POST /api/v1/flow-versions/{flow_version}/variables HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"type": "string",
"key": "string",
"value": "string",
"date_format": null,
"secret": false
}{
"data": {
"id": 0,
"flow_version_id": 0,
"type": "string",
"key": "string",
"value": "string",
"date_format": null,
"secret": false,
"created_at": "2024-01-01T00:00:00.000000Z",
"updated_at": "2024-01-01T00:00:00.000000Z"
}
}Updates an existing flow version variable. Accepts type, key, value, date_format, and secret flag.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
The variable identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Validation Error
Too Many Requests. The rate limit for this user has been reached.
PUT /api/v1/flow-versions/{flow_version}/variables/{variable} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"type": "string",
"key": "string",
"value": "string",
"date_format": null,
"secret": false
}{
"data": {
"id": 0,
"flow_version_id": 0,
"type": "string",
"key": "string",
"value": "string",
"date_format": null,
"secret": false,
"created_at": "2024-01-01T00:00:00.000000Z",
"updated_at": "2024-01-01T00:00:00.000000Z"
}
}Permanently deletes a specific flow version variable.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
The variable identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
DELETE /api/v1/flow-versions/{flow_version}/variables/{variable} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "string"
}Last updated
Was this helpful?