Creates a subscription to the provided list of events. Notifications will be sent to the provided WebhookURL

Body Params

A YL.Web.Api.ThirdParty.Notification.Models.WebhookSubscriptionModel containing the data required to create a webhook subscription

A model representing the webhook subscription for list of events

eventCodes
array of strings
required
length ≥ 1

Gets or sets the Events Codes

eventCodes*
string
required
length between 1 and 1000

Gets or sets the webhook URL

Headers
string
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Something went wrong!

401

Unauthorized request

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json