# Webhooks

Our webhooks allow your systems to receive real-time notifications whenever relevant events occur in the anybill platform. Instead of polling our APIs, webhooks push structured data directly to your endpoint as soon as it becomes available.

# Getting Started

# Authentication

All webhook requests are authenticated via the X-API-KEY header. Please ensure that your endpoint validates this header using your API key to confirm that incoming requests originate from anybill.

# Webhook Request Structure

# Headers

Header Name Value
Content-Type application/json
User-Agent anybill
keep-alive timeout=60, max=3600
X-API-KEY <your-key>

# Use Cases

anybill webhooks can be integrated into your systems to enable a variety of functions, such as:

  • Push notifications for end users
    Trigger updates in your app or service whenever a receipt is created, updated, or processed.

  • Loyalty and rewards integration
    Connect receipts directly with loyalty programs, reward systems, or cashback solutions in real time.

  • Data processing and analytics
    Consume and store receipt data instantly for downstream systems such as ERP, CRM, or business intelligence platforms.

  • Custom workflows
    Build automated processes that react to purchase events—e.g., sending confirmation emails, updating stock systems, or starting refund workflows.

All webhooks follow the same authentication mechanism but differ in their trigger conditions and the payload structure they deliver.