Webhook
Retrieve all webhooks
GET
/
webhook
Authorization
curl --request GET \
--url https://livepeer.studio/api/webhook \
--header 'Authorization: <authorization>'
[
{
"createdAt": 1587667174725,
"events": [
"stream.started"
],
"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88",
"name": "<string>",
"status": {
"lastFailure": {},
"lastTriggeredAt": 1587667174725
},
"streamId": "<string>",
"url": "<string>"
}
]
Authorizations
Authorization
string
headerrequiredBearer api-key
Response
200 - application/json
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
id
string
name
string
requiredstatus
object
status of webhook
streamId
string
streamId of the stream on which the webhook is applied
url
string
requiredWas this page helpful?
curl --request GET \
--url https://livepeer.studio/api/webhook \
--header 'Authorization: <authorization>'
[
{
"createdAt": 1587667174725,
"events": [
"stream.started"
],
"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88",
"name": "<string>",
"status": {
"lastFailure": {},
"lastTriggeredAt": 1587667174725
},
"streamId": "<string>",
"url": "<string>"
}
]