Config
Retrieves a list of webhook configurations for a given tenant. A tenant can have at most one configuration per type: svix, svix_shared, and http.
- : Needed to read subscriptions.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Returning list of webhook configs.
Indicates whether a given configuration is active. Only one configuration can be active at a time.
Indicates which provider should be used.
Unique identifier of the webhook configuration type.
Unauthorized
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
Some server-side error occurred. Details are provided in the response payload.
GET /webhook/{tenant}/config HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"code": "svix_shared",
"provider": "SVIX_SHARED",
"active": true
},
{
"code": "svix",
"provider": "SVIX",
"active": false
},
{
"code": "http",
"provider": "HTTP",
"active": false
}
]Creates a new webhook config for a given tenant. Currently the service supports the following webhook providers:
Svix Emporix Shared Account
Svix Custom Account
HTTP Webhook Strategy
NOTE At any time, a tenant can have only one webhook configuration of each type: svix, svix_shared, and http. If a configuration of the requested type already exists, the request returns a 409 Conflict response. To change the configuration, update or delete the existing one.
NOTE For HTTP configurations, eventsConfiguration can contain multiple entries for the same eventType. The server assigns a stable id to each entry. Omit id on create; client-supplied entry ids are rejected with 400. Each entry may include an optional JsonPath filter and optional excludedFields.
NOTE Svix supports a maximum message payload size of approximately 350kb. However, it is generally advisable to keep webhook payloads small, ideally under 40kb. For larger message sizes, consider using the HTTP Webhook Strategy.
- : Needed to manage subscriptions.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Indicates whether a given configuration is active. Only one configuration can be active at a time.
Indicates which provider should be used.
SVIX_SHARED config
Unique identifier of the webhook configuration type.
Result of creating config
Request was syntactically incorrect. Details are provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
Conflict. Returned when creating a webhook configuration for a type that is already configured, or when a legacy event-type PATCH path is used while multiple eventsConfiguration entries exist for that event type.
Some server-side error occurred. Details are provided in the response payload.
POST /webhook/{tenant}/config HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"code": "svix_shared",
"active": true,
"provider": "SVIX_SHARED",
"configuration": {}
}{
"code": "svix"
}Retrieves a webhook configuration for a given tenant.
- : Needed to read subscriptions.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Unique identifier of the webhook configuration type.
Returning a webhook config.
Indicates whether a given configuration is active. Only one configuration can be active at a time.
Indicates which provider should be used.
Unique identifier of the webhook configuration type.
Unauthorized
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details are provided in the response payload.
GET /webhook/{tenant}/config/{code} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"code": "svix_shared",
"provider": "SVIX_SHARED",
"active": true
}Updates a webhook config for a given tenant. Currently the service supports the following webhook providers:
Svix Emporix Shared Account
Svix Custom Account
HTTP Webhook Strategy
NOTE For HTTP configurations, eventsConfiguration can contain multiple entries for the same eventType. Existing entry id values must be preserved when updating known entries. Legacy payloads without entry ids are still accepted; the server assigns ids to id-less entries (and reuses an existing id when both the stored config and the payload have exactly one entry for that event type).
- : Needed to manage subscriptions.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Unique identifier of the webhook configuration type.
Indicates whether a given configuration is active. Only one configuration can be active at a time.
Indicates which provider should be used.
SVIX_SHARED config
No content
No content
Request was syntactically incorrect. Details are provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
Conflict. Returned when creating a webhook configuration for a type that is already configured, or when a legacy event-type PATCH path is used while multiple eventsConfiguration entries exist for that event type.
Some server-side error occurred. Details are provided in the response payload.
PUT /webhook/{tenant}/config/{code} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"active": true,
"provider": "SVIX_SHARED",
"configuration": {}
}No content
Removes a webhook configuration for a given tenant.
- : Needed to manage subscriptions.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Unique identifier of the webhook configuration type.
This flag set to "true" allows to delete active config
falseNo content
No content
Unauthorized
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
Some server-side error occurred. Details are provided in the response payload.
DELETE /webhook/{tenant}/config/{code} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Partially updates a webhook config for a given tenant. Single update may contain multiple partial updates in the form of an array. Following operations are allowed:
REMOVE- removing an item from the listUPSERT- adding or updating given property
For HTTP eventsConfiguration:
Create a new entry with
UPSERTon/configuration/http/eventsConfigurationEntry(no id segment). Do not sendidin the body — the server generates it.REMOVEis not supported on this path.Address an existing entry by id with
/configuration/http/eventsConfigurationEntry/{entryId}(and field subpaths fordestinationUrl,secretKey,headers,filter,excludedFields,name, andactive).Deactivate a single endpoint with
UPSERTon/configuration/http/eventsConfigurationEntry/{entryId}/activeand valuefalse. Events for a deactivated endpoint are dropped without filter evaluation, delivery, or retries; other endpoints are not affected. Set the value back totrueto resume deliveries.Legacy
/configuration/http/eventsConfiguration/{eventType}paths remain supported when at most one entry exists for that event type and return409 Conflictwhen multiple entries exist.Create/update requests return
400 Bad Requestwhen the body supplies a client-minted entry id or the JsonPathfilteris invalid.
- : Needed to manage subscriptions.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Unique identifier of the webhook configuration type.
Kind of the update operation
Path identifying which properties should be updated.
Use UPSERT on /configuration/http/eventsConfigurationEntry (no id) to create a new entry — body must omit id (server-generated); REMOVE on this path is rejected.
Prefer /configuration/http/eventsConfigurationEntry/{entryId} paths to address a specific existing entry.
Use UPSERT on /configuration/http/eventsConfigurationEntry/{entryId}/active with a boolean value to deactivate (false) or reactivate (true) a single endpoint without removing it; the value is required.
Legacy /configuration/http/eventsConfiguration/{eventType} paths remain supported when at most one entry exists for that event type; they return 409 when multiple entries exist.
Create/update can return 400 for a client-supplied entry id or an invalid JsonPath filter.
Svix Api Key
Active flag (config-level on /active, per-endpoint on /configuration/http/eventsConfigurationEntry/{entryId}/active)
Destination URL where event should be sent
Secret key needed to sign messages sent via HTTP requests.
JsonPath filter expression
Per-entry excluded fields
No content
No content
Request was syntactically incorrect. Details are provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
Conflict. Returned when creating a webhook configuration for a type that is already configured, or when a legacy event-type PATCH path is used while multiple eventsConfiguration entries exist for that event type.
Some server-side error occurred. Details are provided in the response payload.
PATCH /webhook/{tenant}/config/{code} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 131
[
{
"op": "UPSERT",
"path": "/active",
"value": true
},
{
"op": "UPSERT",
"path": "/configuration/svix/apiKey",
"value": "SARFJ353DSTGSd3w3cZXX"
}
]No content
Last updated
Was this helpful?

