Script Templates
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 private.
Filter results by visibility.
Comma-separated list of relationships to include. Available: content, marketplace_company
Sort field. Prefix with - for descending. Available: name
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/patchworks/script-templates HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 0,
"name": "string",
"description": "string",
"language": "string",
"company_id": 0,
"canonical_key": null,
"marketplace_company_id": null,
"tenant_script_version_id": null,
"updated_at": "2025-01-15T10:30:00.000000Z",
"created_at": "2025-01-15T10:30:00.000000Z"
}
],
"links": {
"first": "string",
"last": "string",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 15,
"to": 1,
"total": 1
}
}API key passed in the Authorization header. Format: <api-key>
The script template identifier.
Filter results by name.
Filter results by hidden_from_marketplace.
Filter results by visible_for_marketplace.
Filter results by private.
Filter results by visibility.
Comma-separated list of relationships to include. Available: content, marketplace_company
Sort field. Prefix with - for descending. Available: name
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/patchworks/script-templates/{script_template} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 0,
"name": "string",
"description": "string",
"language": "string",
"company_id": 0,
"canonical_key": null,
"marketplace_company_id": null,
"tenant_script_version_id": null,
"updated_at": "2025-01-15T10:30:00.000000Z",
"created_at": "2025-01-15T10:30:00.000000Z"
}
}API key passed in the Authorization header. Format: <api-key>
The script template identifier.
Successful response
Unauthenticated
Unauthorized
DELETE /api/v1/patchworks/script-templates/{script_template} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "Action completed successfully."
}API key passed in the Authorization header. Format: <api-key>
The script template identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/script-templates/{script_template}/install HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}Last updated
Was this helpful?