# list_event_types

List the event types you can subscribe to

`GET /v1/event-types`

| | |
| --- | --- |
| Risk | read |
| Authentication | API key or OAuth access token |
| Scopes | none (any valid credential) |
| Idempotency | natural: repeating the call gives the same result |
| Dry run | not applicable |
| Success status | 200 |
| Response type | application/json |

## What it does

- Use when: You choose which events a webhook endpoint should receive, or which type to filter the event feed by.
- Do not use when: you want the events themselves (call list_events).
- Side effects: None.
- Reversible: Not applicable, nothing changes.
- Required scope: none (any valid credential).
- Idempotency: safe to repeat.
- Typical next step: call create_webhook_endpoint with the types you picked.

## Request

### Path parameters

None.

### Query parameters

None.

Every read also accepts `fields=a,b,c` to return only those top-level fields.

## Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | array of object | yes |  |
| `data[].type` | string | yes | The event type, for example subscriber.confirmed. |
| `data[].group` | string | yes | The family the type belongs to. |
| `data[].description` | string | yes |  |

## Examples

### catalog

Request:

```bash
curl 'https://api.seemly.com/v1/event-types' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"
```

Response: `200`:

```json
{
  "data": [
    {
      "type": "subscriber.confirmed",
      "group": "subscriber",
      "description": "A subscriber confirmed their address."
    }
  ]
}
```

## Errors

| Status | Codes |
| --- | --- |
| 401 | [`unauthenticated`](/developers/md/errors/unauthenticated), [`credential_revoked`](/developers/md/errors/credential_revoked), [`credential_expired`](/developers/md/errors/credential_expired) |
| 403 | [`plan_does_not_include`](/developers/md/errors/plan_does_not_include), [`api_suspended`](/developers/md/errors/api_suspended), [`consent_required`](/developers/md/errors/consent_required) |
| 429 | [`rate_limited`](/developers/md/errors/rate_limited) |
| 503 | [`service_unavailable`](/developers/md/errors/service_unavailable) |

Every error is an `application/problem+json` body with a `code`, a `fix` sentence and `next_actions`. See [reading a problem response](/developers/md/guides/agents#reading-a-problem-response).

## Typical next steps

- [`create_webhook_endpoint`](/developers/md/operations/create_webhook_endpoint)
- [`list_events`](/developers/md/operations/list_events)

## Related

- [OpenAPI document](https://api.seemly.com/v1/openapi.json)
- [Agent guide](/developers/md/guides/agents)
