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

# List Event Types

> Lists the event types a webhook can receive, in display order

```
GET /openapi/memorylake/admin/v1/webhooks/event-types
```

Lists the event types a webhook can receive, in display order. New types may be added; receivers should ignore types they do not know.

> [!NOTE]
>
> **Permission required:** `webhook:manage`

```bash cURL theme={null}
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks/event-types' \
  -H 'Authorization: Bearer sk_xxxxxx'
```

### Response

**data** `object`

**Webhook Event Types object**

**event\_types** `array`

**Webhook Event Type object**

**group** `string`

Group the type is listed under. One of: `api_key`, `member`, `balance`, `subscription`, `export`.

**type** `string`

Event type, as it appears in the type field of a delivery

```json Success (200) theme={null}
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {
    "event_types": [
      {
        "group": "api_key",
        "type": "example"
      }
    ]
  }
}
```

### Errors

Errors answer with `success: false`, a `message` and an `error_code`. See [Error Codes](https://docs.memorylake.ai/features/memorylake/api-reference/errors.md) for every code.

| Status | Meaning |
| - | - |
| `401` | The API key is missing, invalid, disabled or expired |
| `403` | The key is not allowed to do this |
| `404` | The resource does not exist |
| `429` | Too many requests. Wait for the time in `Retry-After` |
| `500` | Server-side error |


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