capabilities.work

Register a Stream Webhook

A 3-step recipe with Livepeer. We can help you get access.

Recipe · 3 steps

Register a Stream Webhook

Create a stream and register a webhook for its events.

  1. Create the live stream the webhook will be scoped to.
  2. Register a webhook bound to the created stream for the requested events.
  3. Read the webhook back by ID to confirm it was stored.
What you'll need to have ready
  • authToken: Livepeer API key used as a Bearer token.
  • streamName: Name of the stream to create.
  • webhookName: Name of the webhook to create.
  • webhookUrl: HTTPS URL that Livepeer will call when events fire.
  • events: List of event names to subscribe to (e.g. stream.started).
  • sharedSecret: Shared secret used to sign the webhook payload.
For your developer

Arazzo workflow livepeer-com:register-stream-webhook, 3 operations: createStream → createWebhook → getWebhook. Specs on APIs.io.