Create a webhook endpoint
Creates a webhook endpoint.
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Body
The list of events to enable for this endpoint.
1The URL of the webhook endpoint.
Whether this endpoint should receive events from connected accounts, or from your account.
An optional description of what the webhook is used for.
Disable the webhook endpoint if set to true.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Response
Returns the webhook endpoint object if the request succeeded.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
webhook_endpoint Whether the webhook endpoint is for connected account events.
An arbitrary string attached to the object. Often useful for displaying to users.
The events this endpoint will receive.
The status of the webhook endpoint.
enabled, disabled The URL of the webhook endpoint.
The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
The secret used to sign webhook payloads sent to this endpoint.