Create subscription
You can create at most 50 subscriptions
Required scopes:
- partner.webhooks.manage
Request Body — REQUIRED New subscription request |
---|
webhookUrl string — REQUIREDWebhook HTTPS endpoint url. |
webhookVersion string — REQUIREDPossible values: [ Version that will be used when formatting the webhook payload. |
secret string — REQUIREDPossible values: 10 ≤ length ≤ 50 Webhook secret that will be used for signing the request. |
enabled boolean — REQUIREDFlag for enabling/disabling the subscription. If subscription is disabled the webhook won't be triggered for the respective event types. |
eventTypes string[] — REQUIREDList of event types for the subscription. Each time that some event type from the list occurs, the webhook will be triggered. |
Responses | |||||||
---|---|---|---|---|---|---|---|
201 Created
|