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

# List webhook deliveries of an application

> Returns delivery attempts across all webhooks of an application, newest first. Each delivery records the target URL, the response status and body returned by your endpoint, and the resulting status.



## OpenAPI

````yaml GET /prompt-application/{id}/webhook-deliveries
openapi: 3.0.1
info:
  title: Tela API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.tela.com
security: []
paths:
  /prompt-application/{id}/webhook-deliveries:
    get:
      tags:
        - Webhook
      summary: List webhook deliveries of an application
      description: >
        Returns delivery attempts across all webhooks of an application, newest
        first. Each delivery records the

        target URL, the response status and body returned by your endpoint, and
        the resulting

        [status](#/components/schemas/WebhookDeliveryStatus). Deliveries created
        by

        `POST /webhook-delivery/{deliveryId}/resend` reference the root delivery
        through `originalDeliveryId`.
      operationId: listApplicationWebhookDeliveries
      parameters:
        - $ref: '#/components/parameters/WebhookPromptApplicationIdPath'
        - $ref: '#/components/parameters/WebhookDeliveryStatusQuery'
        - $ref: '#/components/parameters/WebhookDeliveryEventTypeQuery'
        - name: webhookId
          in: query
          required: false
          description: Only return deliveries of this webhook.
          schema:
            type: string
            format: uuid
        - $ref: '#/components/parameters/WebhookLimitQuery'
        - $ref: '#/components/parameters/WebhookOffsetQuery'
      responses:
        '200':
          description: Paginated deliveries
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryListResponse'
        '400':
          $ref: '#/components/responses/WebhookBadRequest'
        '401':
          $ref: '#/components/responses/WebhookUnauthorized'
        '403':
          $ref: '#/components/responses/WebhookForbidden'
        '404':
          description: Application not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          $ref: '#/components/responses/WebhookValidationError'
      security:
        - bearerAuth: []
components:
  parameters:
    WebhookPromptApplicationIdPath:
      name: id
      in: path
      required: true
      description: Workstation application ID
      schema:
        type: string
        format: uuid
    WebhookDeliveryStatusQuery:
      name: status
      in: query
      required: false
      description: Filter by delivery status.
      schema:
        $ref: '#/components/schemas/WebhookDeliveryStatus'
    WebhookDeliveryEventTypeQuery:
      name: eventType
      in: query
      required: false
      description: Filter by event type.
      schema:
        $ref: '#/components/schemas/WebhookEventType'
    WebhookLimitQuery:
      name: limit
      in: query
      required: false
      description: Page size. Defaults to 10, clamped to 1–100.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 10
    WebhookOffsetQuery:
      name: offset
      in: query
      required: false
      description: Number of items to skip. Defaults to 0.
      schema:
        type: integer
        minimum: 0
        default: 0
  schemas:
    WebhookDeliveryListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        meta:
          $ref: '#/components/schemas/WebhookPaginationMeta'
      required:
        - data
        - meta
      example:
        data:
          - id: a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d
            webhookId: 7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a
            webhookName: ERP sync
            webhookUrl: https://erp.example.com/hooks/tela
            taskId: b83b1558-de5b-4e45-b517-7bececbdd154
            completionRunId: 3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f
            eventType: task.completed
            webhookType: app_level
            targetUrl: https://erp.example.com/hooks/tela
            status: success
            responseStatus: 200
            responseBody: '{"ok":true}'
            attemptCount: 1
            deliveredAt: '2025-06-11T14:03:12.410Z'
            createdAt: '2025-06-11T14:03:12.105Z'
          - id: f6e5d4c3-b2a1-4f0e-9d8c-7b6a5f4e3d2c
            webhookId: 7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a
            webhookName: ERP sync
            webhookUrl: https://erp.example.com/hooks/tela
            taskId: 0d1e2f3a-4b5c-4d6e-8f7a-8b9c0d1e2f3a
            eventType: task.failed
            webhookType: app_level
            targetUrl: https://erp.example.com/hooks/tela
            status: failed
            responseStatus: 503
            responseBody: Service Unavailable
            attemptCount: 1
            createdAt: '2025-06-11T13:20:45.000Z'
        meta:
          totalCount: 2
          limit: 10
          offset: 0
          currentPage: 1
          totalPages: 1
          links:
            first: '?limit=10&offset=0'
            last: '?limit=10&offset=0'
            next: null
            previous: null
    Error: {}
    WebhookDeliveryStatus:
      type: string
      enum:
        - pending
        - success
        - failed
        - retrying
      description: >
        Outcome of a delivery attempt. `pending` while the request is in flight,
        `success` when your endpoint

        answered 2xx, `failed` otherwise. `retrying` is part of the enum but is
        not currently assigned by the

        delivery worker.
    WebhookEventType:
      type: string
      enum:
        - task.completed
        - task.approved
        - task.approval-revoke
        - task.failed
      description: >
        Events a webhook can subscribe to:

        - `task.completed` — a task run finished successfully and is ready for
        review.

        - `task.approved` — a task was reviewed and approved.

        - `task.approval-revoke` — an approved task was sent back to
        `validating`.

        - `task.failed` — a task run ended with a failure (`errorMessage` is set
        in the payload).
    WebhookDelivery:
      type: object
      description: >
        One delivery attempt of an event to a webhook. Optional fields are
        omitted from the JSON when they

        have no value.
      properties:
        id:
          type: string
          format: uuid
        webhookId:
          type: string
          format: uuid
        webhookName:
          type: string
        webhookUrl:
          type: string
          description: >-
            Current URL of the webhook subscription (may differ from `targetUrl`
            if it was changed later).
        taskId:
          type: string
          format: uuid
          description: Task the event belongs to.
        completionRunId:
          type: string
          format: uuid
          description: Completion run that produced the event, when applicable.
        eventType:
          $ref: '#/components/schemas/WebhookEventType'
        webhookType:
          $ref: '#/components/schemas/WebhookType'
        targetUrl:
          type: string
          description: URL the request was sent to at the time of delivery.
        status:
          $ref: '#/components/schemas/WebhookDeliveryStatus'
        responseStatus:
          type: integer
          description: HTTP status returned by your endpoint.
        responseBody:
          type: string
          description: >-
            Body returned by your endpoint, or the error message when the
            request failed.
        attemptCount:
          type: integer
        originalDeliveryId:
          type: string
          format: uuid
          description: For resends, the root delivery of the chain.
        deliveredAt:
          type: string
          format: date-time
          description: Set when the delivery succeeded.
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - webhookId
        - webhookName
        - webhookUrl
        - eventType
        - webhookType
        - targetUrl
        - status
        - attemptCount
        - createdAt
    WebhookPaginationMeta:
      type: object
      properties:
        totalCount:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        currentPage:
          type: integer
        totalPages:
          type: integer
        lastReference:
          type: integer
        links:
          type: object
          description: >-
            Query strings for the neighbouring pages, or objects when links are
            returned in object form.
          properties:
            first:
              oneOf:
                - type: string
                - type: object
            last:
              oneOf:
                - type: string
                - type: object
            next:
              nullable: true
              oneOf:
                - type: string
                - type: object
            previous:
              nullable: true
              oneOf:
                - type: string
                - type: object
          required:
            - first
            - last
            - next
            - previous
      required:
        - totalCount
        - limit
        - offset
        - currentPage
        - totalPages
        - links
    WebhookType:
      type: string
      enum:
        - request_level
        - app_level
      description: >-
        `app_level` for deliveries of a webhook subscription; `request_level`
        for per-request `webhook_url` deliveries.
  responses:
    WebhookBadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    WebhookUnauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    WebhookForbidden:
      description: The key does not have the required role
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    WebhookValidationError:
      description: Request body or query failed schema validation (`code` is `VALIDATION`)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or UUID

````

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