> ## Documentation Index
> Fetch the complete documentation index at: https://docs.i10.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a webhook delivery and its attempts

> The delivery, what it carried, and every attempt with what was sent (never the signature) and the first 20KB of what came back.



## OpenAPI

````yaml /api-reference/openapi.json get /webhook-deliveries/{id}
openapi: 3.1.0
info:
  title: i10 API
  version: 0.0.0
  description: >-
    Transactional email API. Generated from the same Zod schemas the server
    validates with and the SDKs are built from, so the reference cannot drift
    from the implementation.
servers:
  - url: https://api.i10.tech
    description: Production
security: []
tags:
  - name: Emails
    description: Sending and retrieving transactional mail.
  - name: Domains
    description: Managing sending domains and DNS verification.
  - name: Webhooks
    description: Managing webhook endpoints, deliveries, replays and stats.
  - name: Webhook events
    description: Event payloads i10 signs and POSTs to your webhook endpoints.
  - name: Suppressions
    description: Managing workspace-wide suppressed recipient addresses.
  - name: Trusted templates
    description: Submitting email templates for deliverability review.
paths:
  /webhook-deliveries/{id}:
    get:
      tags:
        - Webhooks
      summary: Get a webhook delivery and its attempts
      description: >-
        The delivery, what it carried, and every attempt with what was sent
        (never the signature) and the first 20KB of what came back.
      operationId: getWebhookDelivery
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      responses:
        '200':
          description: The delivery.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryDetail'
        '401':
          description: The API key is missing, malformed, or unknown.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is restricted to a domain, or is a test key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such delivery for this API key's tenant.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '501':
          description: Webhooks are not configured.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    WebhookDeliveryDetail:
      type: object
      properties:
        object:
          type: string
          enum:
            - webhook_delivery
        id:
          type: string
          format: uuid
        endpoint_id:
          type: string
          format: uuid
        event_type:
          type: string
          enum:
            - email.sent
            - email.delivered
            - email.delivery_delayed
            - email.bounced
            - email.complained
            - email.failed
            - email.opened
            - email.clicked
            - email.unsubscribed
            - webhook_endpoint.failing
            - webhook_endpoint.disabled
            - webhook_endpoint.recovered
            - member.provisioned
            - member.deprovisioned
            - sso.connection.failed
            - sso.certificate.expiring
        status:
          type: string
          enum:
            - pending
            - delivered
            - failed
        attempts:
          type: integer
        sequence:
          type:
            - integer
            - 'null'
        next_attempt_at:
          type:
            - string
            - 'null'
        response_status:
          type:
            - integer
            - 'null'
        last_error:
          type:
            - string
            - 'null'
        occurred_at:
          type: string
        delivered_at:
          type:
            - string
            - 'null'
        created_at:
          type: string
        payload:
          type: object
          additionalProperties: {}
        payload_expunged_at:
          type:
            - string
            - 'null'
        transformed:
          type:
            - object
            - 'null'
          properties:
            method:
              type: string
              enum:
                - POST
                - PUT
                - PATCH
            url:
              type: string
            headers:
              type: object
              additionalProperties:
                type: string
            body:
              type: string
          required:
            - method
            - url
            - headers
            - body
        attempt_log:
          type: array
          items:
            type: object
            properties:
              object:
                type: string
                enum:
                  - webhook_attempt
              id:
                type: string
                format: uuid
              attempt:
                type: integer
              trigger:
                type: string
                enum:
                  - scheduled
                  - manual
                  - recover
                  - replay
                  - test
              lane:
                type: string
                enum:
                  - ordered
                  - retry
              url:
                type: string
              request_headers:
                type: object
                additionalProperties:
                  type: string
              response_status:
                type:
                  - integer
                  - 'null'
              response_headers:
                type:
                  - object
                  - 'null'
                additionalProperties:
                  type: string
              response_body:
                type:
                  - string
                  - 'null'
              duration_ms:
                type: integer
              error_kind:
                type:
                  - string
                  - 'null'
                enum:
                  - status
                  - timeout
                  - connect
                  - tls
                  - blocked
                  - unresolved
                  - transform
                  - null
              error:
                type:
                  - string
                  - 'null'
              created_at:
                type: string
            required:
              - object
              - id
              - attempt
              - trigger
              - lane
              - url
              - request_headers
              - response_status
              - response_headers
              - response_body
              - duration_ms
              - error_kind
              - error
              - created_at
      required:
        - object
        - id
        - endpoint_id
        - event_type
        - status
        - attempts
        - sequence
        - next_attempt_at
        - response_status
        - last_error
        - occurred_at
        - delivered_at
        - created_at
        - payload
        - payload_expunged_at
        - transformed
        - attempt_log
    Error:
      type: object
      properties:
        statusCode:
          type: integer
        name:
          type: string
          enum:
            - validation_error
            - missing_required_field
            - invalid_access
            - not_found
            - method_not_allowed
            - rate_limit_exceeded
            - daily_quota_exceeded
            - monthly_quota_exceeded
            - test_quota_exceeded
            - invalid_from_address
            - invalid_to_address
            - domain_not_verified
            - idempotency_conflict
            - domain_already_exists
            - domain_already_claimed
            - plan_limit_exceeded
            - mail_signin_off
            - mailbox_already_exists
            - restricted_api_key
            - test_key_not_allowed
            - confirmation_required
            - sending_paused
            - sending_held
            - template_already_submitted
            - internal_server_error
        message:
          type: string
      required:
        - statusCode
        - name
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your i10 API key, prefixed `i10_live_` or `i10_test_`. Test keys can
        only send simulated emails (never delivered externally or counted toward
        limits), read test emails and list domains; all other endpoints refuse
        them with 403 `test_key_not_allowed`.

````

## Related topics

- [Get a webhook endpoint's delivery stats](https://docs.i10.tech/api-reference/webhooks/get-webhook-endpoint-stats.md)
- [Get webhook stats for the workspace](https://docs.i10.tech/api-reference/webhooks/get-webhook-stats.md)
- [Resend a webhook delivery](https://docs.i10.tech/api-reference/webhooks/resend-webhook-delivery.md)
- [List webhook deliveries](https://docs.i10.tech/api-reference/webhooks/list-webhook-deliveries.md)
- [Expunge a webhook delivery's payload](https://docs.i10.tech/api-reference/webhooks/expunge-webhook-delivery-payload.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.