This App sends a notification to your Webhook when a capture is done. You can find a full version of this guide on our blog.
We support HTTP and HTTPS webhook, but we strongly recommend using HTTPS. Your webhook should process notifications within 60 seconds and return 200 OK.
Blit will send one notification for capture, with information about all URLs in the capture. We send a POST request in this format:
User-Agent: Blitapp/Webhook Content-Type: application/json { "type": "production", "version": "v1", "date": "2019-11-03T20:01:16.313Z", "capture": { "name": "My capture", "urls": [ { "url": "https://www.example.com/", "image": "https://blitapp-images.com/file?query_sring", "status": "OK" } ] } }
The information is sent as JSON:
Go to Apps and click Add an App. Choose Webhook as the type. Enter a name for your Webhook type.
Then, you should test your webhook by clicking on "Verify". A request with the format (type: "test") above will be sent to your webhook. If any problem occurs, it will be reported.
You can add your App to one or many captures. Go to your capture, click on the Apps input box and select your Webhook App.