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

# Webhook deliveries

> This account's async-request webhook deliveries of the last 24 h, newest first. Free. Needs a full-access API key, like the webhook secret: a trial key gets `403 trial_not_allowed`, a key restricted to some APIs `403 full_access_required`.

Your account's webhook deliveries from the last 24 hours, newest first (up to 200). Free. Needs a key with full access. The dashboard's [Webhooks page](https://scrapebadger.com/dashboard/webhooks) shows the same list.


## OpenAPI

````yaml get /v1/account/webhook-deliveries
openapi: 3.1.0
info:
  title: ScrapeBadger Account API
  version: 1.0.0
servers:
  - url: https://scrapebadger.com
security:
  - apiKey: []
paths:
  /v1/account/webhook-deliveries:
    get:
      tags:
        - Account
      summary: Webhook deliveries
      description: >-
        This account's async-request webhook deliveries of the last 24 h, newest
        first. Free. Needs a full-access API key, like the webhook secret: a
        trial key gets `403 trial_not_allowed`, a key restricted to some APIs
        `403 full_access_required`.
      operationId: webhook_deliveries_v1_account_webhook_deliveries_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
          description: How many deliveries to return (1-200).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveries'
        '403':
          description: '`trial_not_allowed` or `full_access_required`.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  detail:
                    type: string
                required:
                  - error
                  - detail
components:
  schemas:
    WebhookDeliveries:
      title: WebhookDeliveries
      type: object
      properties:
        deliveries:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        window_hours:
          type: integer
          example: 24
      required:
        - deliveries
        - window_hours
    WebhookDelivery:
      title: WebhookDelivery
      type: object
      properties:
        request_id:
          type: string
        endpoint:
          type: string
          description: Path of the call, e.g. `/v1/perplexity/ask` (never its query).
        state:
          type: string
          enum:
            - pending
            - delivering
            - delivered
            - failed
          description: >-
            `pending`: the call is still running. `delivering`: an attempt is
            under way or the next retry is due at `next_attempt_at`.
            `delivered`: the endpoint answered 2xx. `failed`: every attempt
            failed, a final status (not 408/429/5xx) came back, or a gateway
            restart interrupted the delivery (`last_error` "interrupted (gateway
            restart)").
        attempts:
          type: integer
        last_status:
          anyOf:
            - type: integer
            - type: 'null'
        last_error:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          type: integer
          description: Unix time the call was submitted.
        delivered_at:
          anyOf:
            - type: integer
            - type: 'null'
        callback_host:
          type: string
      required:
        - request_id
        - endpoint
        - state
        - attempts
        - created_at
        - callback_host
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your ScrapeBadger API key. You can find this in your dashboard at
        https://scrapebadger.com/dashboard/api-keys?utm_source=docs&utm_medium=referral

````

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