{
  "opencollection": "1.0.0",
  "info": {
    "name": "Convelio Public Webhook API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "webhook",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List registered webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sandbox.convelio.com/v2/webhook",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ]
          },
          "docs": "List all webhooks."
        },
        {
          "info": {
            "name": "Create webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sandbox.convelio.com/v2/webhook",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a webhook.\n<h3> Deliveries: </h3>\nTo acknowledge receipt of a webhook delivery, return a <i>204</i> OK response with an empty body.\nTo send a negative acknowledgment for the message, return any other status code.\nWebhook deliveries are signed with the API secret token. HTTP header name: <i>X-Convelio-signature</i>\n<h3> Retry policy: </h3>\nIf a webhook delivery fails, Convelio will retry the delivery for up to 7 days. Retry attempts will start after 60 seconds and will increase exponential"
        },
        {
          "info": {
            "name": "Get webhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sandbox.convelio.com/v2/webhook/:webhookId",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "Webhook ID"
              }
            ]
          },
          "docs": "Get a webhook."
        },
        {
          "info": {
            "name": "Update webhook",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.sandbox.convelio.com/v2/webhook/:webhookId",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "Webhook ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a webhook."
        },
        {
          "info": {
            "name": "Delete webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.sandbox.convelio.com/v2/webhook/:webhookId",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "Webhook ID"
              }
            ]
          },
          "docs": "Delete a webhook."
        }
      ]
    }
  ],
  "bundled": true
}