Flow Templates
Retrieves a paginated list of flow templates included in marketplace blueprints.
API key passed in the Authorization header. Format: <api-key>
Filter results by name.
Filter results by hidden_from_marketplace.
Filter results by visible_for_marketplace.
Filter results by id.
Filter results by blueprint_id.
Filter results by ,.
Filter results by marketplaceApps.
Filter results by marketplace_apps.blueprint_id.
Filter results by blueprint_version_number.
Filter results by marketplace_apps.version.
Filter results by private.
Filter results by visibility.
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/patchworks/flow-templates HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/patchworks/flow-templates",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/patchworks/flow-templates?page=1",
"last": "https://api.example.com/api/v1/patchworks/flow-templates?page=1",
"prev": null,
"next": null
}
}Retrieves the details of a specific flow template included in a marketplace blueprint.
API key passed in the Authorization header. Format: <api-key>
The flow template identifier.
Comma-separated list of relationships to include. Available: systemTemplates.logo, flowStepTemplates, flowStepTemplates.children, flowStepTemplates.parentFlowStep, flowTemplateSchedules, marketplaceCompany, publicCompany, marketplaceApps
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/patchworks/flow-templates/{flow_template} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
}Permanently deletes a specific flow template.
API key passed in the Authorization header. Format: <api-key>
The flow template 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/patchworks/flow-templates/{flow_template} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "Action completed successfully."
}Retrieves a paginated list of steps for a specific flow template.
API key passed in the Authorization header. Format: <api-key>
The flow template identifier.
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/patchworks/flow-templates/{flow_template}/steps HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"label": "My Label",
"colour": "blue",
"logo_url": "example_logo_url",
"version": 1,
"version_name": "example_version_name",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"system_type_id": 1,
"protocol": "HTTP",
"company_id": 1,
"date_format": "example_date_format",
"help_link": "example_help_link",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/patchworks/flow-templates/{flow_template}/steps",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/patchworks/flow-templates/{flow_template}/steps?page=1",
"last": "https://api.example.com/api/v1/patchworks/flow-templates/{flow_template}/steps?page=1",
"prev": null,
"next": null
}
}Installs a specific flow template from a marketplace blueprint.
API key passed in the Authorization header. Format: <api-key>
The flow template 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-templates/{flow_template}/install HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}Last updated
Was this helpful?