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

# List Webhooks

> List the project's webhooks, newest first. Signing secrets are not included. Page by passing the previous response's `nextCursor` as `cursor`; a null `nextCursor` means there are no further pages.



## OpenAPI

````yaml get /v1/webhooks
openapi: 3.0.0
info:
  title: Browserbase API
  description: Browserbase API for 3rd party developers
  version: v1
servers:
  - url: https://api.browserbase.com
    description: Public endpoint
    variables: {}
security:
  - BrowserbaseAuth: []
tags: []
paths:
  /v1/webhooks:
    get:
      summary: List Webhooks
      description: >-
        List the project's webhooks, newest first. Signing secrets are not
        included. Page by passing the previous response's `nextCursor` as
        `cursor`; a null `nextCursor` means there are no further pages.
      operationId: Webhooks_list
      parameters:
        - name: limit
          in: query
          description: Maximum number of results to return.
          required: false
          schema:
            type: integer
            default: 20
            maximum: 100
            minimum: 1
        - name: cursor
          in: query
          description: >-
            Cursor from a previous response's `nextCursor`. Omit for the first
            page.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: A page of webhooks.
          content:
            application/json:
              schema:
                description: A page of webhooks. Signing secrets are not included.
                type: object
                properties:
                  data:
                    description: The page of webhooks, newest first.
                    type: array
                    items:
                      $ref: '#/components/schemas/Webhook'
                  limit:
                    description: The maximum number of results returned in this page.
                    type: integer
                  nextCursor:
                    description: >-
                      Cursor for the next page. Pass it back as `cursor` to
                      continue paging. null when there are no more results.
                    anyOf:
                      - type: string
                    nullable: true
                required:
                  - data
                  - limit
                  - nextCursor
      x-codeSamples:
        - lang: javascript
          label: Node.js
          source: |-
            import Browserbase from "@browserbasehq/sdk";

            const bb = new Browserbase({
              apiKey: process.env.BROWSERBASE_API_KEY,
            });

            const { data } = await bb.webhooks.list();

            console.log(data);
        - lang: python
          label: Python
          source: |-
            import os

            from browserbase import Browserbase

            bb = Browserbase(api_key=os.environ["BROWSERBASE_API_KEY"])

            page = bb.webhooks.list()

            print(page.data)
        - lang: bash
          label: cURL
          source: |-
            curl --request GET \
              --url https://api.browserbase.com/v1/webhooks \
              --header "X-BB-API-Key: $BROWSERBASE_API_KEY"
components:
  schemas:
    Webhook:
      description: >-
        A delivery endpoint for a project. Browserbase POSTs a signed event to
        it whenever one of its subscribed event types occurs. The signing secret
        is returned only when it is created or rotated.
      type: object
      properties:
        id:
          description: Unique identifier for the webhook.
          type: string
        projectId:
          description: The project the webhook belongs to.
          type: string
        endpoint:
          description: >-
            HTTPS URL that event deliveries are POSTed to. Must be publicly
            reachable.
          type: string
          format: uri
          maxLength: 2048
          pattern: ^https://[^/?#]+
        eventTypes:
          description: Event types this webhook subscribes to. Unknown types are rejected.
          type: array
          items:
            type: string
            enum:
              - functions.builds.running
              - functions.builds.completed
              - functions.builds.failed
              - functions.invocations.pending
              - functions.invocations.running
              - functions.invocations.completed
              - functions.invocations.failed
          minItems: 1
          uniqueItems: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - projectId
        - endpoint
        - eventTypes
        - createdAt
        - updatedAt
  securitySchemes:
    BrowserbaseAuth:
      type: apiKey
      in: header
      name: X-BB-API-Key
      description: Your [Browserbase API Key](https://www.browserbase.com/settings).

````