{
  "opencollection": "1.0.0",
  "info": {
    "name": "Documo Account Webhooks API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.documo.com/v1/webhooks"
          },
          "docs": "Lists webhook subscriptions configured on the account."
        },
        {
          "info": {
            "name": "Create a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.documo.com/v1/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a webhook subscription that posts event payloads to a target URL. Webhooks can be set at the account level or scoped to a specific number."
        },
        {
          "info": {
            "name": "Delete a webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.documo.com/v1/webhooks/:webhookId",
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "Identifier of the webhook subscription."
              }
            ]
          },
          "docs": "Deletes a webhook subscription by id."
        }
      ]
    }
  ],
  "bundled": true
}