cURL
curl --request POST \ --url https://app.d-sports.org/api/webhooks/leagues-sync \ --header 'x-webhook-secret: <x-webhook-secret>'
Triggered by CI to synchronize league data from the leagues repository into the database. Requires x-webhook-secret header.
Must match the LEAGUES_WEBHOOK_SECRET environment variable.
{ success, data: { created, updated, errors, total } }
Was this page helpful?