Korala AI Webhooks API

The Webhooks API from Korala AI — 5 operation(s) for webhooks.

GitHub OpenAPI

Operations 8

POST /api/v1/webhooks Create a new webhook #
GET /api/v1/webhooks List all webhooks #
GET /api/v1/webhooks/{id} Get webhook by ID #
PATCH /api/v1/webhooks/{id} Update a webhook #
DELETE /api/v1/webhooks/{id} Delete a webhook #
GET /api/v1/webhooks/{id}/deliveries Get webhook delivery history #
POST /api/v1/webhooks/{id}/test Send a test webhook event #
POST /api/v1/webhooks/{id}/deliveries/{deliveryId}/retry Retry a failed or retrying webhook delivery #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/korala-ai:korala-ai-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

korala-ai-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Korala Public Webhooks API
  description: Public API for Korala document signing service
  version: 1.0.0
  contact: {}
servers:
- url: https://api.korala.ai
  description: Production
tags:
- name: Webhooks
paths:
  /api/v1/webhooks:
    post:
      operationId: WebhooksController_create_v1
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhookDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookWithSecretDto'
      security:
      - api-key: []
      - bearer: []
      summary: Create a new webhook
      tags:
      - Webhooks
    get:
      operationId: WebhooksController_findAll_v1
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookDto'
      security:
      - api-key: []
      - bearer: []
      summary: List all webhooks
      tags:
      - Webhooks
  /api/v1/webhooks/{id}:
    get:
      operationId: WebhooksController_findOne_v1
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDto'
        '400':
          description: Malformed UUID in path parameter (`id`).
      security:
      - api-key: []
      - bearer: []
      summary: Get webhook by ID
      tags:
      - Webhooks
    patch:
      operationId: WebhooksController_update_v1
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDto'
        '400':
          description: Malformed UUID in path parameter (`id`).
      security:
      - api-key: []
      - bearer: []
      summary: Update a webhook
      tags:
      - Webhooks
    delete:
      operationId: WebhooksController_delete_v1
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Webhook deleted successfully
        '400':
          description: Malformed UUID in path parameter (`id`).
      security:
      - api-key: []
      - bearer: []
      summary: Delete a webhook
      tags:
      - Webhooks
  /api/v1/webhooks/{id}/deliveries:
    get:
      operationId: WebhooksController_getDeliveries_v1
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: cursor
        required: false
        in: query
        schema:
          type: string
      - name: limit
        required: false
        in: query
        schema:
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryListDto'
        '400':
          description: Malformed UUID in path parameter (`id`).
      security:
      - api-key: []
      - bearer: []
      summary: Get webhook delivery history
      tags:
      - Webhooks
  /api/v1/webhooks/{id}/test:
    post:
      operationId: WebhooksController_sendTestEvent_v1
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryDto'
        '400':
          description: Malformed UUID in path parameter (`id`).
      security:
      - api-key: []
      - bearer: []
      summary: Send a test webhook event
      tags:
      - Webhooks
  /api/v1/webhooks/{id}/deliveries/{deliveryId}/retry:
    post:
      operationId: WebhooksController_retryDelivery_v1
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      - name: deliveryId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryDto'
        '400':
          description: Malformed UUID in path parameter (`id`, `deliveryId`).
      security:
      - api-key: []
      - bearer: []
      summary: Retry a failed or retrying webhook delivery
      tags:
      - Webhooks
components:
  schemas:
    DocumentDeclinedEventData:
      type: object
      properties:
        documentId:
          type: string
        signerId:
          type: string
        signerEmail:
          type:
          - string
          - 'null'
        signerExternalId:
          type:
          - string
          - 'null'
        reason:
          type:
          - string
          - 'null'
        sandbox:
          type: boolean
      required:
      - documentId
      - signerId
      - sandbox
    DocumentViewedEventData:
      type: object
      properties:
        documentId:
          type: string
        signerId:
          type: string
        signerEmail:
          type:
          - string
          - 'null'
        signerExternalId:
          type:
          - string
          - 'null'
        packetId:
          type: string
          description: 'Present when the signer opened the document in a signing packet: the packet'
        packetItemId:
          type: string
          description: 'Present when the signer opened the document in a signing packet: the packet item for this document'
        sandbox:
          type: boolean
      required:
      - documentId
      - signerId
      - sandbox
    WebhookPayloadDto:
      type: object
      properties:
        eventId:
          type: string
          description: Unique delivery ID
        event:
          description: Event type
          allOf:
          - $ref: '#/components/schemas/WebhookEventType'
        timestamp:
          type: string
          description: ISO 8601 timestamp
        data:
          description: Event-specific data
          oneOf:
          - $ref: '#/components/schemas/DocumentCreatedEventData'
          - $ref: '#/components/schemas/DocumentSentEventData'
          - $ref: '#/components/schemas/DocumentViewedEventData'
          - $ref: '#/components/schemas/DocumentSignedEventData'
          - $ref: '#/components/schemas/DocumentCompletedEventData'
          - $ref: '#/components/schemas/DocumentFailedEventData'
          - $ref: '#/components/schemas/DocumentVoidedEventData'
          - $ref: '#/components/schemas/DocumentDeclinedEventData'
          - $ref: '#/components/schemas/TestEventData'
      required:
      - eventId
      - event
      - timestamp
      - data
    WebhookWithSecretDto:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEventType'
        mode:
          description: 'Which traffic this endpoint receives: live or test documents, sessions and workflows. API credentials pin the mode. Existing subscriptions cannot change mode.'
          allOf:
          - $ref: '#/components/schemas/WebhookMode'
        isActive:
          type: boolean
        description:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        secret:
          type: string
          description: Secret for HMAC signature verification (only shown once)
      required:
      - id
      - url
      - events
      - mode
      - isActive
      - createdAt
      - updatedAt
      - secret
    DocumentCompletedEventData:
      type: object
      properties:
        documentId:
          type: string
        name:
          type: string
        completedAt:
          type: string
          description: ISO 8601 timestamp
        signerCount:
          type: number
        sandbox:
          type: boolean
      required:
      - documentId
      - name
      - completedAt
      - signerCount
      - sandbox
    UpdateWebhookDto:
      type: object
      properties:
        url:
          type: string
          example: https://example.com/webhooks
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEventType'
        description:
          type: string
        isActive:
          type: boolean
        mode:
          description: 'Which traffic this endpoint receives: live or test documents, sessions and workflows. API credentials pin the mode. Existing subscriptions cannot change mode.'
          allOf:
          - $ref: '#/components/schemas/WebhookMode'
    WebhookDeliveryStatus:
      type: string
      enum:
      - pending
      - success
      - failed
      - retrying
    TestEventData:
      type: object
      properties:
        sandbox:
          type: boolean
        message:
          type: string
      required:
      - sandbox
      - message
    DocumentVoidedEventData:
      type: object
      properties:
        documentId:
          type: string
        name:
          type: string
        sandbox:
          type: boolean
      required:
      - documentId
      - name
      - sandbox
    DocumentCreatedEventData:
      type: object
      properties:
        documentId:
          type: string
        name:
          type: string
        status:
          type: string
        sandbox:
          type: boolean
      required:
      - documentId
      - name
      - status
      - sandbox
    CreateWebhookDto:
      type: object
      properties:
        url:
          type: string
          example: https://example.com/webhooks
        events:
          type: array
          example:
          - document_signed
          - document_completed
          items:
            $ref: '#/components/schemas/WebhookEventType'
        description:
          type: string
          example: Notifications for signed documents
        mode:
          default: live
          description: 'Which traffic this endpoint receives: live or test documents, sessions and workflows. API credentials pin the mode. Existing subscriptions cannot change mode.'
          allOf:
          - $ref: '#/components/schemas/WebhookMode'
      required:
      - url
      - events
    WebhookDeliveryListDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDeliveryDto'
        nextCursor:
          type: string
          description: Cursor for the next page of results
        hasMore:
          type: boolean
          description: Whether more results are available
      required:
      - data
      - hasMore
    WebhookDto:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEventType'
        mode:
          description: 'Which traffic this endpoint receives: live or test documents, sessions and workflows. API credentials pin the mode. Existing subscriptions cannot change mode.'
          allOf:
          - $ref: '#/components/schemas/WebhookMode'
        isActive:
          type: boolean
        description:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
      - id
      - url
      - events
      - mode
      - isActive
      - createdAt
      - updatedAt
    WebhookMode:
      type: string
      enum:
      - live
      - test
      description: 'Which traffic this endpoint receives: live or test documents, sessions and workflows. API credentials pin the mode. Existing subscriptions cannot change mode.'
    WebhookEventType:
      type: string
      enum:
      - risk.context.created
      - risk.context.subject_added
      - risk.context.policies_configured
      - risk.investigation.requested
      - risk.investigation.completed
      - risk.investigation.failed
      - risk.investigation.reviewed
      - risk.subject.created
      - risk.policy.created
      - risk.policy.published
      - risk.activity.reported
      - risk.evidence.recorded
      - risk.evidence.batch_recorded
      - risk.assessment.created
      - risk.action.requested
      - risk.action.transitioned
      - risk.override.created
      - risk.override.revoked
      - screening.run.completed
      - screening.match.found
      - screening.adverse_media.run.completed
      - screening.adverse_media.finding.found
      - document_created
      - document_sent
      - document_viewed
      - document_signed
      - document_completed
      - document_failed
      - document_voided
      - document_declined
      - document_expired
      - signing_packet.sent
      - signing_packet.viewed
      - signing_packet.item_signed
      - signing_packet.recipient_completed
      - signing_packet.partially_completed
      - signing_packet.voided
      - signing_packet.expired
      - session_completed
      - session_expired
      - session_failed
      - session_resolved
      - session_review_required
      - session_resubmission_requested
      - session_workflow_completed
      - session_workflow_failed
      - workflow_run_completed
      - workflow_run_failed
      - test
    DocumentSentEventData:
      type: object
      properties:
        documentId:
          type: string
        name:
          type: string
        signerCount:
          type: number
        sandbox:
          type: boolean
      required:
      - documentId
      - name
      - signerCount
      - sandbox
    WebhookDeliveryDto:
      type: object
      properties:
        id:
          type: string
        webhookId:
          type: string
        eventType:
          allOf:
          - $ref: '#/components/schemas/WebhookEventType'
        payload:
          $ref: '#/components/schemas/WebhookPayloadDto'
        status:
          allOf:
          - $ref: '#/components/schemas/WebhookDeliveryStatus'
        httpStatusCode:
          type: number
        requestHeaders:
          type: object
          description: Request headers sent with the webhook
          additionalProperties:
            type: string
        responseHeaders:
          type: object
          description: Response headers received from the endpoint
          additionalProperties:
            type: string
        responseBody:
          type: string
        attempts:
          type: number
        nextRetryAt:
          format: date-time
          type: string
        deliveredAt:
          format: date-time
          type: string
        createdAt:
          format: date-time
          type: string
      required:
      - id
      - webhookId
      - eventType
      - payload
      - status
      - attempts
      - createdAt
    DocumentFailedEventData:
      type: object
      properties:
        documentId:
          type: string
        error:
          type: string
        sandbox:
          type: boolean
      required:
      - documentId
      - error
      - sandbox
    DocumentSignedEventData:
      type: object
      properties:
        documentId:
          type: string
        signerId:
          type: string
        signerEmail:
          type:
          - string
          - 'null'
        signerExternalId:
          type:
          - string
          - 'null'
        allSigned:
          type: boolean
          description: Whether all signers have now signed
        packetId:
          type: string
          description: 'Present when the signer signed through a signing packet: the packet'
        packetItemId:
          type: string
          description: 'Present when the signer signed through a signing packet: the packet item for this document'
        bulkSign:
          type: boolean
          description: True when the signature was applied by bulk signing
        sandbox:
          type: boolean
      required:
      - documentId
      - signerId
      - allSigned
      - sandbox
  securitySchemes:
    preparation-token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: One-hour, single-template preparation session token. Not a dashboard or OAuth token.
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
    timestamp:
      type: apiKey
      in: header
      name: X-Timestamp
    signature:
      type: apiKey
      in: header
      name: X-Signature