Webhook Subscriptions
You can manage all your webhook subscriptions through the Lucra Webhook Subscriptions API. The full URL along with required API key will be provided by our Lucra account manager.
Create a New Subscription
{
"apiKey": "your-Lucra-assigned-api-key", // contact account manager for details
"object" {
"subscriptions": ["FtpMatchupCreated"], // webhook event name(s) (array of strings)
"webhookUrl": "https://test.com/lucra-game-matchups", // full URL to deliver webhook events to (string)
"name": "Free to Play Game Matchups Created", // optional name for your reference (string)
"description": "Sync Game Matchups", // optional description for your reference (string)
"active": "true", // whether events should be delivered or not (boolean)
"headers": JSON.stringify({'x-sample-header': sample-value}), // optional headers (or empty string) to be included when Lucra delivers webhook payloads (string)
"expirationDate": "2030-12-31T00:00:00+00:00" // optional timestamp to expire the subscription(s)
}
}Available Subscriptions
Retrieve Existing Subscriptions
Update an Existing Subscription
Delete an Existing Subscription
Last updated