Costruiscilo nel tuo progetto.

Usa gli stessi esempi SDK delle pagine prodotto di Bird, poi fornisci al tuo coding agent un brief che includa i percorsi di errore che hai praticato.

Esercitazione interattiva · Inglese

Make the unhappy path work.

Events can arrive more than once. A trustworthy integration verifies the sender and processes each event appropriately.

Questo esercizio nel browser simula dei messaggi. Il tuo lavoro resta qui finché non esci. Accedi per salvare i progressi e le valutazioni.

Reject an invalid signature and prevent a replayed event from updating an order twice.

Output esercitazione

Your practice output will appear here.
Mostra un suggerimento

Enable signature verification and deduplication. Test an invalid event, then replay a valid one.

Continua con l'apprendimento salvato

Un brief per il tuo coding agent

# Build with Bird: Reliable webhooks

Read these current sources before proposing an implementation:

- Webhooks & events: https://bird.com/docs/guides/webhooks
- How do I verify a webhook signature?: https://bird.com/explained/platform/how-do-i-verify-a-webhook-signature

## Task

Help me implement Reliable webhooks in my project. First inspect the application and identify the relevant server, framework and existing Bird integration. Confirm the exact workflow and supported surface against the linked documentation. Some operations are available only in the dashboard. Do not invent endpoints or derive API contracts from a learning simulation.

## Implementation

Use the official Bird SDK or CLI where supported. Keep credentials on the server and request the smallest necessary permissions. Follow the channel's documented test procedure before proposing any external send or production change.

Keep request acceptance separate from delivery. For incoming events, verify signatures using the original request body, deduplicate stable identifiers, and apply valid state transitions. Respect recipient preferences and channel requirements.

## Acceptance

Show the implementation and relevant tests. Exercise the documented failure paths, invalid signatures and duplicate events where applicable. Explain any dashboard steps or missing prerequisites. Ask for approval before sending to real recipients or changing production.

La tua prossima idea. Pronta a partire.