---
title: "RabbitMQ + D-API WhatsApp API integration | D-API"
description: "Stream every WhatsApp API event (messages, statuses and connections) from your D-API instances into RabbitMQ queues for event-driven architectures."
url: https://d-api.cloud/en/integrations/rabbitmq
---

Messaging

# RabbitMQ + D-API WhatsApp API

Stream every WhatsApp API event (messages, statuses and connections) from your D-API instances into RabbitMQ queues for event-driven architectures.

Receive every event from your instances (messages, statuses, connections) in a dedicated RabbitMQ broker. Ideal for event-driven architectures, asynchronous workers and systems that need ordered delivery and persistence.

## Highlights

-   Dedicated queue per instance or shared topic exchange
-   Delivery guarantee with ack/nack
-   Compatible with any AMQP 0.9.1 consumer

## Use cases

-   ### Asynchronous workers
    
    Process messages in parallel with scalable workers.
    
-   ### Audit and compliance
    
    Persist every event immutably.
    
-   ### Event sourcing
    
    Feed event-driven systems with real-time WhatsApp data.
    

Step by step

## How it works

1.  Enter your RabbitMQ broker credentials in the D-API dashboard.
    
2.  Choose the mode: one queue per instance or a shared exchange.
    
3.  D-API publishes each event to the broker, routed by type/instance.
    
4.  Your workers consume as usual over AMQP with the client libraries of your language.
    

## Frequently asked questions

### Do I need a managed RabbitMQ?

No. It can be self-hosted, CloudAMQP, Amazon MQ or any AMQP 0.9.1-compatible provider.

### What happens if the broker goes down?

D-API buffers the events and retransmits them when the connection is back, without losing messages.

### Can I filter events?

Yes. Use routing keys and bindings on your exchange to receive only the events you care about.

## Ready to connect?

3-day free trial, no credit card. No commitment.

[Start free trial](https://app.d-api.cloud/register?lang=en)
