{
  "opencollection": "1.0.0",
  "info": {
    "name": "Spark Hire Account Webhooks API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sparkhire.com/v1.0/webhooks"
          },
          "docs": "List webhooks"
        },
        {
          "info": {
            "name": "Create a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sparkhire.com/v1.0/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Registers a URL that Spark Hire POSTs changed objects to when a subscribed event occurs."
        },
        {
          "info": {
            "name": "Delete a webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.sparkhire.com/v1.0/webhooks/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ]
          },
          "docs": "Delete a webhook"
        },
        {
          "info": {
            "name": "Replay a webhook event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sparkhire.com/v1.0/webhooks/replay/:event",
            "params": [
              {
                "name": "event",
                "value": "",
                "type": "path",
                "description": "The event type to replay (e.g. InterviewCompleted)."
              }
            ]
          },
          "docs": "Redelivers the most recent payload for the given event type."
        }
      ]
    }
  ],
  "bundled": true
}