v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Webhook Sink

Upsert Sink

Create or update a sink.

put/api/v1/app/{app_id}/stream/sink/{sink_id}

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

The Application's ID or UID.

sink_idstring required

The StreamSink's ID or UID.

Example:unique-identifier

The StreamSink's ID or UID.

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "uid": "unique-identifier",
  "batchSize": 100,
  "eventTypes": [
    "user.signup"
  ]
}

Response

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "id": "sink_2yZwUhtgs5Ai8T9yRQJXA",
  "uid": "unique-identifier",
  "eventTypes": [
    "user.signup"
  ]
}