Event

Creates events on the Stream.

post/api/v1/stream/{stream_id}/events

Request

  • Base URL
    https://api.eu.svix.com
  • URL
    https://api.eu.svix.com/api/v1/stream/{stream_id}/events
  • Auth
    HTTP 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

{
  "events": [
    {
      "eventType": "user.signup",
      "payload": "{\"email\":\"test@example.com\",\"username\":\"test_user\"}"
    }
  ],
  "stream": {
    "uid": "unique-identifier"
  }
}

Response

CreateStreamEventsOut required

Changes

    • warning

      the / request property's maxLength was set to 512

    • info

      added the required property to the response with the status

    • breaking

      the // request property's minLength was increased from 0 to 1

    • warning

      the // request property's maxLength was set to 3145728