WebhookApiClient
Contains all the endpoints needed to manage webhooks.
Constructors
Constructor
new WebhookApiClient():
WebhookApiClient
Returns
WebhookApiClient
Methods
createWebhookEndpoint()
staticcreateWebhookEndpoint(data,config?):Promise<SCWebhookEndpointType>
This endpoint creates a webhook endpoint and connects it to the given webhook events.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | WebhookParamType | |
config? | AxiosRequestConfig |