AI and automation

What is a webhook?

Also called: HTTP callback Updated Reviewed by the AgentMio team

Definition

A webhook is an automatic HTTP request that one system sends to another when an event happens, so the receiving system can react right away without checking for changes.

Why it matters

Webhooks connect tools in real time. They are the simplest way to turn events in your product into actions elsewhere.

How to do it

  1. The receiving system gives you a unique URL.
  2. Your system sends a request with event data to that URL when something happens.
  3. A shared secret or signature proves the request really came from you.

Example

AgentMio data feeds give each brand a webhook URL and secret. An app sends a release event, and AgentMio drafts posts about it.

Webhook vs. API

With an API, you ask for data or send commands when you want. With a webhook, data is pushed to you when an event happens.

FAQ

How do I keep a webhook secure?

Keep the URL and secret on your server, send the secret or a signature with each request, and never expose them in a browser or app.

Back to the glossary

Cookie settings

Choose which cookies we may use. You can change this at any time from the footer.