Sink
Create Sink
Changed onCreates a new sink.
post/api/v1/stream/{stream_id}/sink
Request
- Base URLhttps://api.eu.svix.com
- URLhttps://api.eu.svix.com/api/v1/stream/{stream_id}/sink
- AuthHTTP bearer
Path parameters
stream_idstring required
The Stream's ID or UID.
Example:unique-identifier
Headers
idempotency-keystring
The request's idempotency key
Request body
Example request
{
"batchSize": 100,
"channels": [
"project_1337"
],
"eventTypes": [
"user.signup"
],
"uid": "unique-identifier"
}Response
Example response
{
"channels": [
"project_1337"
],
"eventTypes": [
"user.signup"
],
"id": "sink_2yZwUhtgs5Ai8T9yRQJXA",
"uid": "unique-identifier"
}Changes
- warning
the
/////request property's maxLength was set to512
- warning
- breaking
added to the response body
oneOflist for the response status - info
added
postHogmapping keys to the request discriminator - info
added to the request body
oneOflist - info
added
postHogmapping keys to the response discriminator for the response status
- breaking