# List event types

Every event type an endpoint can subscribe to. Use these values in
`enabled_events`. The list may grow; treat an event type you do not
recognise as one to ignore.

Endpoint: GET /webhook-event-types
Security: ClientKey, SecretKey

## Security:

  - `ClientKey` (unknown)
    apiKey in header X-Dime-Client

  - `SecretKey` (unknown)
    http bearer

## Response 200:

  - `200` (unknown)
    The event types.

## Response 200 fields (application/json):

  - `object` (string)
    Enum: "list"

  - `data` (array)
    Example: ["payment.succeeded","payment.failed","refund.processed"]

  - `has_more` (boolean)
    Example: false

## Response 401:

  - `401` (unknown)
    The client key or secret key was missing, not recognized, or the two do not belong to the same key.

## Response 401 fields (application/json):

  - `error` (object, required)

  - `error.type` (string, required)
    Which kind of failure occurred. Always one of four values, so
a client can branch on `type` before reading `code`.
    Enum: "invalid_request_error", "card_error", "idempotency_error", "api_error"

  - `error.code` (string, required)
    Example: parameter_missing

  - `error.message` (string, required)
    Example: Order ID is required.

  - `error.param` (string)
    The field that caused the failure, when applicable.
    Example: id

## Response 200 examples:

  - `The catalogue` (unknown)

## Response 401 examples:

  - `unauthorized` (unknown)

  - `Client key sent without its secret key` (unknown)

