Outgoing Webhooks vs. Generic Webhooks
Introduction
AAArdvark has two kinds of webhooks, and it’s easy to mix them up. The quickest way to keep them straight is to think about which direction the data flows.
At a glance
| Outgoing webhook | Generic webhook | |
|---|---|---|
| Direction | AAArdvark → your service | Your service → AAArdvark |
| What triggers it | Something happens in AAArdvark (a new issue, a finished scan…) | Your system sends us a request |
| What you set up | A URL on your side, plus the events you want | A URL on our side that accepts your requests |
| Good for | Pushing AAArdvark events into your own tools | Letting your tools kick off actions in AAArdvark |
Which one do I need?
If you want AAArdvark to notify your tools when something happens – a new issue is found, a scan finishes, a status changes – that’s an outgoing webhook. AAArdvark does the pushing.
If you want your tools to trigger something in AAArdvark – like kicking off a scan from a CI pipeline or a CMS deploy hook – that’s a generic webhook. Your system does the pushing.
In short, outgoing webhooks are for listening, generic webhooks are for triggering.
Related Guides
-
Outgoing Webhooks
-
Setting Up an Outgoing Webhook
-
What’s Inside Each Webhook Message
-
Verifying Webhook Signatures