Marketplace webhook callback
When you integrate with a Cyclr Marketplace, you can specify a Webhook URL for Cyclr to send notifications to.
In the Cyclr Console, select Embedding > Marketplace and select the Settings cog icon.
Enter the Marketplace Notification URL.
Examples
Installed payload
JSON
{
"Status": "installed",
"AccountId": "00000000-0000-0000-0000-000000000000",
"AccountApiId": "ExampleAccount",
"MarketplaceIntegrationPackageId": 1234,
"MarketplaceInstallDetails": [
{
"CycleId": "00000000-0000-0000-0000-000000000000",
"CycleStatus": "Active",
"Webhooks": [
{
"Url": "https://example.com/api/webhook/abcdefg",
"StepName": "Example Webhook"
}
],
"TemplateId": "00000000-0000-0000-0000-000000000000",
"TemplateReleaseId": "00000000-0000-0000-0000-000000000000"
}
],
"Errors" : ["Failed to start cycle"],
"UserId": "00000000-0000-0000-0000-000000000000",
"CompleteParameter": "example"
}
Uninstalled payload
JSON
{
"Status": "uninstalled",
"AccountId": "00000000-0000-0000-0000-000000000000",
"AccountApiId": "ExampleAccount",
"MarketplaceIntegrationPackageId": 1234,
"CompleteParameter": "example"
}
Started payload
JSON
{
"Status": "started",
"AccountId": "00000000-0000-0000-0000-000000000000",
"AccountApiId": "ExampleAccount",
"MarketplaceIntegrationPackageId": 1234,
"CompleteParameter": "example"
}
Stopped payload
JSON
{
"Status": "stopped",
"AccountId": "00000000-0000-0000-0000-000000000000",
"AccountApiId": "ExampleAccount",
"MarketplaceIntegrationPackageId": 1234,
"CompleteParameter": "example"
}