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

# Get a delivery

> The payload one webhook delivery carried.

Every delivery to an endpoint is numbered, and this returns exactly what one of them carried:
the same `{ id, name, created_at, data }`
[delivery body](/webhooks/overview#the-delivery-body) it was sent, from the one stored copy every
retry of that delivery already reused.

That body arrives inside the `{ data, error }` envelope every `/v1` read answers with, so the
event's records are at `data.data` — the outer key is the envelope, the inner one is the
delivery body's own `data`. A delivery we `POST` to you is never enveloped, so unwrap one level
and a replayed delivery is byte-identical to a live one.

Use it to fill a gap. Sequence numbers are per-endpoint, monotonic and gapless, so a jump from
`127` to `129` in what you received means `128` exists and can be fetched — see
[Sequence and replay](/webhooks/overview#sequence-and-replay) for the worked example. The
sequence comes back on the response's own `X-Webhook-Sequence` header, never in the body,
matching the original delivery.

`404` is deliberately the same whether the endpoint doesn't exist, belongs to someone else, the
sequence was never allocated, or the delivery has aged out of the 30-day retention window — the
response can't be used to learn which endpoint ids are real.

For what the payloads contain, see [Events](/webhooks/events). For verifying that a delivery
came from us, see [Security](/webhooks/security).


## OpenAPI

````yaml openapi.json GET /v1/webhooks/endpoints/{endpointId}/deliveries/{sequence}
openapi: 3.0.0
info:
  title: Cromos API
  version: 1.0.0
servers:
  - url: https://api.cromos.so
security:
  - bearerAuth: []
paths:
  /v1/webhooks/endpoints/{endpointId}/deliveries/{sequence}:
    get:
      tags:
        - Webhooks
      summary: Get a delivery
      description: >-
        The payload of one webhook delivery, by endpoint and sequence number.
        Use it to fetch what a delivery carried after the fact — the receipt a
        consumer replays against. `data.data` is not a typo: the outer key is
        this API's envelope, the inner one is the event payload, byte-identical
        to what the live delivery POSTed. Returns 404 if the endpoint or the
        sequence is unknown to the caller.
      parameters:
        - schema:
            type: string
          required: true
          name: endpointId
          in: path
        - schema:
            type: integer
            minimum: 0
            exclusiveMinimum: true
          required: true
          name: sequence
          in: path
      responses:
        '200':
          description: The payload that was delivered
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/WebhookDeliveryPayload'
                  error:
                    type: object
                    nullable: true
                required:
                  - data
                  - error
              example:
                data:
                  id: evt_3f8b6d2a91c74e5f8a2d6b3c9e1f7a4d
                  name: pokemon.card_prices.updated
                  created_at: '2026-08-02T16:47:31.502Z'
                  data:
                    currency: USD
                    cards:
                      - card_id: base1-4
                        prices:
                          - variant: holo
                            condition: NM
                            currency: USD
                            market: 80042
                            low: 42650
                            high: 149965
                error: null
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    WebhookDeliveryPayload:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        created_at:
          type: string
        data:
          nullable: true
      required:
        - id
        - name
        - created_at
    ErrorResponse:
      type: object
      properties:
        data:
          type: object
          nullable: true
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - data
        - error
    ApiError:
      type: object
      properties:
        code:
          type: string
          description: A stable machine-readable token. Switch on this, not on `message`.
        message:
          type: string
          description: A human-readable sentence. Always present, never empty.
      required:
        - code
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````