{
  "opencollection": "1.0.0",
  "info": {
    "name": "Livepeer API Reference accessControl webhook API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "webhook",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a Webhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://livepeer.studio/api/webhook"
          },
          "docs": "Retrieve a Webhook"
        },
        {
          "info": {
            "name": "Create a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://livepeer.studio/api/webhook",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "To create a new webhook, you need to make an API call with the events you want to listen for and the URL that will be called when those events occur.\n"
        },
        {
          "info": {
            "name": "Retrieve a webhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://livepeer.studio/api/webhook/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a webhook"
        },
        {
          "info": {
            "name": "Update a webhook",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://livepeer.studio/api/webhook/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a webhook"
        },
        {
          "info": {
            "name": "Delete a webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://livepeer.studio/api/webhook/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a webhook"
        },
        {
          "info": {
            "name": "Retrieve webhook logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://livepeer.studio/api/webhook/:id/log",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve webhook logs"
        },
        {
          "info": {
            "name": "Retrieve a webhook log",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://livepeer.studio/api/webhook/:id/log/:logId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "logId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a webhook log"
        },
        {
          "info": {
            "name": "Resend a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://livepeer.studio/api/webhook/:id/log/:logId/resend",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "logId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Use this API to resend the same webhook request. This is useful when\ndeveloping and debugging, allowing you to easily repeat the same webhook\nto check or fix the behaviour in your handler.\n"
        }
      ]
    }
  ],
  "bundled": true
}