Stream

Creates a new stream.

post/api/v1/stream

Request

  • Base URL
    https://api.eu.svix.com
  • URL
    https://api.eu.svix.com/api/v1/stream
  • Auth
    HTTP bearer

Headers

idempotency-keystring

The request's idempotency key

Request body

metadataobject
namestring required

The stream's name.

uidstring nullable

An optional unique identifier for the stream.

Example request

{
  "uid": "unique-identifier"
}

Response

createdAtstring date-time required
idstring required

The stream's ID.

metadataobject required
namestring nullable

The stream's name.

uidstring nullable

The stream's UID.

updatedAtstring date-time required

Example response

{
  "id": "strm_2yZwUhtgs5Ai8T9yRQJXA",
  "uid": "unique-identifier"
}

Changes

    • warning

      the request property's maxLength was set to 512

    • info

      added the required property to the response with the status