Skip to main content
Listen to events in your FirstPromoter account on your webhook endpoint so you can trigger actions or automate processes in your application.

Why webhooks

After setting up your FirstPromoter account, you may want to receive events in order to trigger an action or automate a process. Webhooks allow you to do this by pushing real-time event data to your endpoint as things happen in your account. If you are using a tool like Zapier, Albato, or Make, they provide webhook endpoints when creating an automation flow.

How to set it up

Navigate to Settings → Integrations and scroll down to the webhooks section. Add a webhook URL for each event you want to receive.

Payload structure

Every webhook event is sent as a POST request with a JSON body containing two top-level keys:
  • event — metadata about the event (id, type, timestamp)
  • data — the full payload for the event (lead, promoter, reward, etc.)

Available webhook events

EventTriggered when
lead_signupA new lead signs up via a referral link
lead_becomes_referralA lead makes their first payment and becomes a customer
lead_cancelledA lead or customer cancels their subscription
new_customerA lead becomes a paying customer
promoter_signed_upA new promoter joins your affiliate program
promoter_acceptedA promoter is approved for a campaign
reward_createdA reward is generated for a promoter
fulfilment_pendingA non-monetary reward is waiting to be fulfilled

How to respond

Your endpoint should return a 2xx HTTP status code to acknowledge receipt. If your endpoint does not respond in time or returns a non-2xx status, FirstPromoter will retry the delivery. The fulfilment_pending event has special response semantics — see its dedicated page for details.