Webhook Triggers
You can trigger scripts using webhooks for Cheat Cloud AND Cheat Layer!
Cheat Cloud webhook: https://cheatlayer.com/triggers/cloud
Cheat Layer Extension webhook: https://cheatlayer.com/triggers/extension
Parameter | Description | Example |
start | The target website to run the automation. If you leave this blank, the script will run in the background in the extension. | www.google.com |
key | This must be your API key, which is printed to the right: | YOUR KEY |
name | The name of one of your scripts in the Cheat List. This must be a script you saved, so you can't execute arbitrary code. | Product Scraper |
data | Any data you want to send to the webhook. It will be available in the 'data' variable for the script you run. | {url:'www.google.com',data:'test'} |
Example: curl -X POST https://cheatlayer.com/triggers/extension -H 'Content-Type: application/json' -d '{"start":"https://www.google.com", "name": "Product Scraper", "data":"test","key":"YOUR_KEY", "script":""}'