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

# List webhook endpoint event subscriptions



## OpenAPI

````yaml /api-reference/account-platform-webhooks-v1.openapi.json get /v1/webhooks/endpoints/{id}/event-subscriptions
openapi: 3.1.0
info:
  title: COPE Public API
  version: 1.0.0
servers:
  - url: https://api.cope.com
security: []
paths:
  /v1/webhooks/endpoints/{id}/event-subscriptions:
    get:
      summary: List webhook endpoint event subscriptions
      operationId: webhooks.event_subscriptions.list
      parameters:
        - in: path
          name: id
          required: true
          schema:
            pattern: ^whs_[A-Za-z0-9_-]+$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEventSubscriptionResponse'
          description: Webhook resource
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Forbidden
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Not Found
      security:
        - bearerAuth: []
components:
  schemas:
    WebhookEventSubscriptionResponse:
      properties:
        data:
          $ref: '#/components/schemas/WebhookEventSubscription'
      required:
        - data
      type: object
    Problem:
      additionalProperties: false
      properties:
        code:
          type: string
        detail:
          type: string
        errors:
          items:
            additionalProperties: false
            properties:
              code:
                type: string
              detail:
                type: string
              param:
                description: >-
                  The request field refused; absent when the refusal is about
                  the request as a whole.
                type: string
            required:
              - code
              - detail
            type: object
          type: array
        request_id:
          type: string
        status:
          type: integer
        title:
          type: string
        type:
          format: uri
          type: string
      required:
        - type
        - title
        - status
        - code
        - errors
      type: object
    WebhookEventSubscription:
      properties:
        endpoint_id:
          pattern: ^whs_[A-Za-z0-9_-]+$
          type: string
        event_types:
          items:
            type: string
          type: array
      required:
        - endpoint_id
        - event_types
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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