{
  "opencollection": "1.0.0",
  "info": {
    "name": "MediaValet Webhooks API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.mediavalet.com/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mediavalet.com/skyhook/subscriptions",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer QXJlbid0IHlvdSB2ZXJ5IG5vc2V5IDpQ"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Webhook subscription."
        },
        {
          "info": {
            "name": "Update Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mediavalet.com/skyhook/subscriptions/:subscriptionID",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer QXJlbid0IHlvdSB2ZXJ5IG5vc2V5IDpQ"
              }
            ],
            "params": [
              {
                "name": "subscriptionID",
                "value": "",
                "type": "path",
                "description": "subscriptionID path parameter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Webhook Subscription."
        },
        {
          "info": {
            "name": "Delete Subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mediavalet.com/skyhook/subscriptions/:subscriptionID",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer QXJlbid0IHlvdSB2ZXJ5IG5vc2V5IDpQ"
              }
            ],
            "params": [
              {
                "name": "subscriptionID",
                "value": "",
                "type": "path",
                "description": "subscriptionID path parameter."
              }
            ]
          },
          "docs": "Delete a Subscription."
        },
        {
          "info": {
            "name": "Get Subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mediavalet.com/skyhook/subscriptions/list",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer QXJlbid0IHlvdSB2ZXJ5IG5vc2V5IDpQ"
              }
            ]
          },
          "docs": "Return all Events that you are subscribed to."
        },
        {
          "info": {
            "name": "Get Events Types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mediavalet.com/skyhook/events",
            "headers": [
              {
                "name": "Authorization",
                "value": "Bearer QXJlbid0IHlvdSB2ZXJ5IG5vc2V5IDpQ"
              }
            ]
          },
          "docs": "Return all Events Types that you can Subscribe to. Take note of the Event Name you will need to create a subscription."
        }
      ]
    }
  ],
  "bundled": true
}