Automation Rules API
Last updated
Was this helpful?
Last updated
Was this helpful?
Nosto's UGC offers a full suite of API endpoints for Automation Rules allowing customers with API access to make all appropriate requests namely GET, POST, PUT, and DELETE.
Just like all other REST API calls, Rate Limits, Authentication and Authorisation processes, and Content Type and Accept Headers should all be followed when making your API calls. This information is defined within the Developer Portal
Resource URL
POST https://api.stackla.com/api/tilerules/?access_token=[Access Token]&stack=[Stack Name]
The Request Body must include Rule Name (name
), (trigger
), (action
), whether the Rule is active (enabled
), and whether it is for Tiles or Assets (type
).
Included below is an example of a filled-out rule-based.
Fetch all Automation Rules associated with your Stack
GET https://api.stackla.com/api/tilerules/?access_token=[Access Token]&stack=[Stack Name]
Fetch all conditions specified for a Specific Automation Rule on your Stack
GET https://api.stackla.com/api/tilerules/[Rule ID]?access_token=[Access Token]&stack=[Stack Name]
Update a Specific Automation Rule on your Stack
PUT https://api.stackla.com/api/tilerules/[Rule ID]?access_token=[Access Token]&stack=[Stack Name]
Remove a Specific Automation Rule on your Stack
DELETE https://api.stackla.com/api/tilerules/[Rule ID]?access_token=[Access Token]&stack=[Stack Name]
Apply an Automation Rule to Tile or Asset records that already exist in your Stack
PUT https://api.stackla.com/api/tilerules/[Rule ID]/apply?access_token=[Access Token]&stack=[Stack Name]