Webhook
Webhook
When something happens in another service, it automatically pings your server: 'Hey, this just happened!'
💡 It's the text you get when a package is delivered. You don't have to keep checking.
🤖 Say this to your AI
Create an endpoint that receives the webhook my payment provider sends when a payment succeeds. When it arrives, change the order status to 'Paid', and verify the signature to make sure it really came from the payment provider.
The key word is ‘Webhook’. Including it helps AI understand you much more precisely.
When to use it
- Updating an order's status when a payment goes through
- Sending a Slack notification when a form is submitted
Also called: hook, automatic notification, callback, event notification, ping my server, webhook url