Skip to main content
Skip table of contents

Marketplace webhook callback

When you integrate with a Cyclr Marketplace, you can specify a Webhook URL for Cyclr to send notifications to.

  1. In the Cyclr Console, select Embedding > Marketplace and select the Settings cog icon.

  2. 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"
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.