A8NT

Webhooks

Create HTTP endpoints to receive events from external services.

What are Webhooks?

Webhooks are HTTP endpoints that receive POST requests from external services. When an event occurs in another system (like a new GitHub commit or Stripe payment), that system sends a request to your webhook URL.

Creating a Webhook

  1. Navigate to Sources > Webhooks
  2. Click New Webhook
  3. Give your webhook a name and optional description
  4. Copy the generated URL to use in external services

Webhook URL Format

https://www.a8nt.com/webhooks/:id/receive

Each webhook gets a unique ID. The URL is publicly accessible and accepts POST requests.

Request Format

Webhooks accept JSON payloads. The payload is available in your triggers and actions as variables.

{
  "event": "order.created",
  "data": {
    "id": "12345",
    "amount": 99.99
  }
}

Security

For additional security, you can:

  • Use trigger conditions to validate payload contents
  • Verify webhook signatures from services that support them
  • Disable webhooks when not in use

Testing Webhooks

You can test your webhook using curl or any HTTP client:

curl -X POST https://www.a8nt.com/webhooks/:id/receive \
  -H "Content-Type: application/json" \
  -d '{"event": "test"}'