Documentation Index
Fetch the complete documentation index at: https://aptly-1c228e04.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Webhooks let your server receive real-time notifications when activity occurs on an Aptly board. Instead of polling the API for changes, Aptly sends an HTTP POST request to a URL you specify whenever a relevant event occurs.Setup
- Open the board you want to monitor
- Click Card Sources in the board toolbar
- Select API and enable the REST API if not already on
- Paste your server endpoint into the Webhook URL field
- Copy the Webhook Signing Key for use in your handler
- Click Save
Events
Aptly sends a webhook for the following events:- Card created
- Card updated
- Card deleted
- Comment posted on a card
- File uploaded to a card
Payload
The request body is a JSON object containing key/value pairs where the key is the name of a board field and the value is its current value. The exact fields present depend on your board structure.Verifying the signature
Every webhook request includes your Webhook Signing Key as anx-signingKey header. Your server can read this header and compare it against the key shown in your Card Sources panel to confirm the request is genuinely from Aptly.
Responding to webhooks
Your server must return a200 HTTP status within 60 seconds. If Aptly does not receive a 200, the delivery is marked as failed. Aptly will continue retrying the webhook indefinitely until you update or remove the Webhook URL.
Return your 200 response as quickly as possible. If you need to do heavy processing, acknowledge the webhook immediately and handle the work asynchronously.
