Skip to content
Aurabase Logo
aurabase

Outgoing Webhooks & HMAC Signatures

Receive real-time events from your Aurabase project on your own servers securely using HMAC-SHA256 cryptographic signatures.

How-to guide8 min readLevel intermediate

Webhooks architecture#

Aurabase outgoing webhooks broadcast system events to your callback URLs (e.g. new user registration, successful payment, table row update).

At-Least-Once Delivery Guarantee

Each webhook sent contains a unique event identifier event_id allowing you to implement idempotent processing on your servers.

Structure of the X-Aurabase-Signature header#

Each HTTP POST request issued by Aurabase includes the following security header:

POST /webhook HTTP/1.1
Host: api.votre-domaine.com
Content-Type: application/json
X-Aurabase-Event-Id: evt_01J8Y6Q9K3M7Z...
X-Aurabase-Signature: t=1724060000,v1=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08

Verify HMAC-SHA256 signature#

Fault management and dead-letter queue#

If your server responds with an HTTP error code (4xx, 5xx) or experiences a timeout (time limit of 10 seconds), Aurabase automatically retries the sending according to an exponential backoff:

  • Attempt 1: Immediate
  • Attempt 2: After 15 seconds
  • Attempt 3: After 1 minute
  • Attempt 4: After 5 minutes
  • Attempt 5: After 30 minutes

After 5 consecutive failures, the event is placed in the Studio's Dead-Letter Queue (DLQ) for inspection and manual replay.

To go further#

@aurabase/aurabase-js@0.7.5 · aura@0.3.4↗ Report a problem