curl --request POST \
--url https://api.sequin.io/v1/streams \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{ "slug": "dev" }'
{
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d",
"slug": "dev",
"org_id": "75958cea-c981-4116-9a0d-c1e99e826688",
"created_at": "2024-12-15 01:29:29",
"updated_at": "2024-12-15 01:29:29"
}
Streams
Create a stream
This endpoint creates a stream.
POST
/
v1
/
streams
curl --request POST \
--url https://api.sequin.io/v1/streams \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{ "slug": "dev" }'
{
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d",
"slug": "dev",
"org_id": "75958cea-c981-4116-9a0d-c1e99e826688",
"created_at": "2024-12-15 01:29:29",
"updated_at": "2024-12-15 01:29:29"
}
Request parameters
string
required
Slug of the stream. The slug must be unique across all your streams.
curl --request POST \
--url https://api.sequin.io/v1/streams \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{ "slug": "dev" }'
Response fields
{
"id": "c906b4a4-0cda-4f46-bd80-255f570c195d",
"slug": "dev",
"org_id": "75958cea-c981-4116-9a0d-c1e99e826688",
"created_at": "2024-12-15 01:29:29",
"updated_at": "2024-12-15 01:29:29"
}
string
ID of the stream.
string
Slug of the stream.
string
ID of your organization.
string
Timestamp of when the stream was created, in ISO 8601 format.
string
Timestamp of when the stream was last updated, in ISO 8601 format.

