Create a new connection to an external endpoint where event notifications will be delivered.
url and optionally authentication configuration. Supported authentication types are none, bearer, basic, and api_key.
Klaviyo connections require only the type field set to klaviyo with an empty configuration object. After creating the connection, use the Start OAuth2 authorization endpoint to connect your Klaviyo account.
2xx status code to acknowledge event delivery.Basic Authentication using API key and secrets is currently the main authentication mechanism.
Request body for creating a new connection.
The type of connection.
webhook, klaviyo The configuration for the connection. The shape depends on the connection type.
For webhook connections, see the webhook configuration fields.
For klaviyo connections, configuration can be an empty object as credentials are managed via OAuth2.
Created
Connection created
A connection defines an external endpoint where event notifications are delivered.