v50

latestOpenAPI 3.1.0raw.githubusercontent.com2024-10-175745153.1 KB
webhook

Retrieve webhook logs

get/webhook/{id}/log

Path parameters

idstring required

Response

Success

idstring required
webhookIdstring required

ID of the webhook this request was made for

eventstring

The event type that triggered the webhook request

createdAtnumber

Timestamp (in milliseconds) at which webhook request object was created

durationnumber

The time taken (in seconds) to make the webhook request

successboolean

Whether the webhook request was successful

Example response

[
  {
    "id": "de7818e7-610a-4057-8f6f-b785dc1e6f88",
    "webhookId": "de7818e7-610a-4057-8f6f-b785dc1e6f88",
    "event": "stream.started",
    "createdAt": 1587667174725,
    "duration": 0.5,
    "success": true,
    "request": {
      "url": "https://my-service.com/webhook",
      "method": "POST",
      "headers": {
        "User-Agent": "livepeer.studio"
      },
      "body": "{\"event\": \"stream.started\"}"
    }
  }
]