Flow Version Variables
Authorizations
AuthorizationstringRequired
API key passed in the Authorization header. Format: <api-key>
Path parameters
flow_versionstringRequired
The flow version identifier.
Body
typestringRequired
keystring · min: 1Required
valuestring · max: 1024Optional
date_formatstring · nullableOptional
secretstringOptional
Responses
200
Successful response
application/json
401
Unauthenticated
403
Unauthorized
422
Validation Error
application/json
post/api/v1/flow-versions/{flow_version}/variables
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"
}
}Authorizations
AuthorizationstringRequired
API key passed in the Authorization header. Format: <api-key>
Path parameters
flow_versionstringRequired
The flow version identifier.
variablestringRequired
The variable identifier.
Body
typestringRequired
keystring · min: 1Required
valuestring · max: 1024Optional
date_formatstring · nullableOptional
secretstringOptional
Responses
200
Successful response
application/json
401
Unauthenticated
403
Unauthorized
422
Validation Error
application/json
put/api/v1/flow-versions/{flow_version}/variables/{variable}
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"
}
}Authorizations
AuthorizationstringRequired
API key passed in the Authorization header. Format: <api-key>
Path parameters
flow_versionstringRequired
The flow version identifier.
variablestringRequired
The variable identifier.
Responses
200
Successful response
application/json
messagestringOptional
401
Unauthenticated
403
Unauthorized
delete/api/v1/flow-versions/{flow_version}/variables/{variable}
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?