Skip to main content
This webhook is triggered when a run of a repeating export finishes. A repeating export is one scheduled from the Exports page of the LoyaltyLion admin to run every 2 hours, daily, weekly or monthly. A run that completes carries a link to its file, so a pipeline can collect each file without anyone signing in. An export that repeats every 2 hours skips a run while its previous run is still going, so no webhook is sent for that round.
This webhook is in limited availability. Contact support@loyaltylion.com to have it turned on for your program.
Subscribe with your site’s token and secret or a program API key. OAuth apps cannot subscribe to this webhook.

Downloading the file

file.download_url is a signed link that works for 24 hours, until file.download_url_expires_at. Fetch it with a plain GET and no authentication. The file itself is kept for 30 days, until file.expires_at. Treat the link as a secret while it works: anyone who has it can download the file. A webhook that we retry carries the link from the first attempt, so a delivery that arrives more than a day late has an expired link. The file can still be downloaded from the Exports page. A csv file has a header row of column labels. A jsonl file has one JSON object per line, with the same column labels as field names. Choose the Snake case format template when you build the export to get field names such as points_approved.

Payload

object
required

Example

Completed
Failed