capabilities.work

Fan Out Event to Owner

A 3-step recipe with Convoy. We can help you get access.

Recipe · 3 steps

Fan Out Event to Owner

with Convoy · Webhook & Event Subscription Management

List an owner's endpoints, fan out an event to them, and confirm it.

  1. List the endpoints registered against the owner ID, branching only when at least one endpoint exists to receive the fanout.
  2. Fan out a single event to all endpoints that share the supplied owner ID.
  3. List recent events for the project to confirm the fanout produced events.
What you'll need to have ready
  • apiKey: Convoy API key used as the Bearer token on the Authorization header.
  • projectID: The Convoy project identifier.
  • ownerId: The owner ID grouping the endpoints that should receive the fanout.
  • eventType: Event type used for filtering and debugging (e.g. invoice.paid).
  • eventData: Arbitrary JSON payload sent as the webhook body to every endpoint.
For your developer

Arazzo workflow convoy:fanout-event-to-owner, 3 operations: GetEndpoints → CreateEndpointFanoutEvent → GetEventsPaged. Specs on APIs.io.