# List event types.

Returns the possible types that an event can have. Pass `includeSubTypes=true` to also get the sub types
valid for each type in the same response (an empty list for a type with none), instead of calling
`types/{eventTypeId}/subtypes` once per type.

Endpoint: GET /events/types
Version: v3
Security: oauth2

## Security:

  - `oauth2` (unknown)
    oauth2

## Query parameters:

  - `includeSubTypes` (boolean)
    When `true`, each event type carries its allowed sub types.

## Response 200:

  - `200` (unknown)
    A collection of event types.

## Response 200 fields (text/plain):

  - `id` (integer, required)

  - `name` (string, required)

  - `subTypes` (null | array)

  - `subTypes.id` (integer, required)

  - `subTypes.name` (string, required)

