Skip to main content

Create a log stream

POST 

/api/v0/streams/

Create an outbound log stream and its destination in one payload. Requires a team API key with the manage scope. The destination config is validated against the plugin's declared fields and its URL policy, so a config that could never be delivered is refused here rather than failing silently at delivery time. The delivery service is given the stream's spec before the response: when it cannot be reached the stream is not created and the request answers 503.

Request​

Responses​

The stream that was created; the stored secret is never returned.