Subscribe Webhook Event

Description: Subscribe webhook event

Path: /api/v1/setting/subscribeWebhookEvent

Method: POST

Request

Attributes

* = required

chevron-rightenabled*hashtag

boolean

Determines whether webhook are turned on.

chevron-rightsubscriptionList*hashtag

array

Specifies an array of events for your webhook server to subscribe to. If set to an empty array, the server unsubscribes from all events and webhooks are turned off.

chevron-rightsubscriptionList.*.url*hashtag

string

Specifies the URL of your webhook server to receive payloads for events.

chevron-rightsubscriptionList.*.eventType*hashtag

string

Event type for your webhook server to subscribe to.

Example

Response

Attributes

chevron-rightacknowledgedhashtag

boolean

The update has been applied yet

Example

Last updated