{
  "opencollection": "1.0.0",
  "info": {
    "name": "LendKey E-Sign API (via Kong Gateway) Application Contracts Webhooks API",
    "version": "0.1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Handle DocuSign Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.lendkey.com/esign/webhooks/docusign",
            "headers": [
              {
                "name": "X-DocuSign-Signature-1",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Receives webhook notifications from DocuSign Connect when envelope events occur.\nThe endpoint validates the envelope exists in the system, stores the status update,\nand extracts/stores signer data when envelope is completed.\n\n**Events handled:**\n- Envelope is sent\n- Envelope is delivered to recipients\n- Envelope is signed/completed\n- Envelope is declined\n- Envelope is voided\n- Recipient events\n\n**Kong Route:** `/webhooks/docusign`\n**Backend:** `/webhooks/docusign`\n"
        },
        {
          "info": {
            "name": "Webhook Health Check",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.lendkey.com/esign/webhooks/docusign/health"
          },
          "docs": "Simple endpoint to verify the webhook URL is accessible (for DocuSign Connect verification).\n\n**Kong Route:** `/webhooks/docusign/health`\n**Backend:** `/webhooks/docusign/health`\n"
        }
      ]
    }
  ],
  "bundled": true
}