GET
/
webhook
curl --request GET \
  --url https://livepeer.studio/api/webhook \
  --header 'Authorization: Bearer <api-key>'
[
  {
    "id": "de7818e7-610a-4057-8f6f-b785dc1e6f88",
    "name": "test_webhook",
    "kind": "webhook",
    "userId": "<string>",
    "createdAt": 1587667174725,
    "events": [
      "stream.started",
      "stream.idle"
    ],
    "url": "https://my-service.com/webhook",
    "streamId": "de7818e7-610a-4057-8f6f-b785dc1e6f88",
    "status": {
      "lastFailure": {
        "timestamp": 1587667174725,
        "error": "Error message",
        "response": "Response body",
        "statusCode": 500
      },
      "lastTriggeredAt": 1587667174725
    }
  }
]

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
id
string
name
string
required
kind
string
deprecated
userId
string
deprecated
createdAt
number

Timestamp (in milliseconds) at which stream object was created

events
enum<string>[]
Available options:
stream.started,
stream.detection,
stream.idle,
recording.ready,
recording.started,
recording.waiting,
multistream.connected,
multistream.error,
multistream.disconnected,
playback.user.new,
playback.accessControl,
asset.created,
asset.updated,
asset.failed,
asset.ready,
asset.deleted,
task.spawned,
task.updated,
task.completed,
task.failed
url
string
required
streamId
string

streamId of the stream on which the webhook is applied

status
object

status of webhook