{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dixa Agents Webhooks API",
    "version": "beta"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.dixa.io/beta/webhooks/:webhookSubscriptionId",
            "params": [
              {
                "name": "webhookSubscriptionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a Webhook Subscription by ID."
        },
        {
          "info": {
            "name": "Patch Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://dev.dixa.io/beta/webhooks/:webhookSubscriptionId",
            "params": [
              {
                "name": "webhookSubscriptionId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Patch a Webhook Subscription."
        },
        {
          "info": {
            "name": "Delete Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://dev.dixa.io/beta/webhooks/:webhookSubscriptionId",
            "params": [
              {
                "name": "webhookSubscriptionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a Webhook Subscription."
        },
        {
          "info": {
            "name": "List all Webhook Subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.dixa.io/beta/webhooks"
          },
          "docs": "List of all Webhook Subscriptions in an organization."
        },
        {
          "info": {
            "name": "Create Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dev.dixa.io/beta/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Webhook Subscription."
        },
        {
          "info": {
            "name": "Webhook Subscription Last Delivery Statuses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.dixa.io/beta/webhooks/:webhookSubscriptionId/delivery-status",
            "params": [
              {
                "name": "webhookSubscriptionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get the latest delivery statuses of a Webhook Subscription."
        },
        {
          "info": {
            "name": "Webhook Subscription Event Logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.dixa.io/beta/webhooks/:webhookSubscriptionId/delivery-status/logs/:event",
            "params": [
              {
                "name": "webhookSubscriptionId",
                "value": "",
                "type": "path"
              },
              {
                "name": "event",
                "value": "",
                "type": "path",
                "description": "The set of events this Webhook Subscription subscribes to. Allowed values: [SLAEvaluationVoided, ConversationPending, SLAEvaluationBreached, ConversationMessageAdded, ConversationCustomAttributeUpdated, SLAEvaluationAchieved, ConversationAssigned, ConversationMessageDeliveryDelivered, ConversationMessageDeliveryInfo, ConversationTransferred, ConversationEnqueued, AgentUnbannedEnduser, TypingStarted, ConversationCreated, ConversationUnassigned, ConversationOpen, ConversationAbandoned, ConversationClosed, ConversationMessageDeliveryFailed, ConversationTagAdded, ConversationNoteAdded, AgentBannedEnduser, ConversationEndUserReplaced, ConversationMessageDeliverySeen, AgentUnbannedIp, ConversationMessageDeliverySent, AgentBannedIp, ConversationTagRemoved, ConversationRated, SLAEvaluationPending, ConversationMessageDeliverySpamComplaint, ConversationPendingExpired]"
              }
            ]
          },
          "docs": "Get the latest Webhook Subscription Event logs."
        }
      ]
    }
  ],
  "bundled": true
}