---
title: "GET /alertTypes"
method: GET
path: "/alertTypes"
tags: ["Alerts"]
---

# GET /alertTypes

`GET /alertTypes`

## Request

- Base URL: `https://api.cxxx.eagleeyenetworks.com/api/v3.0`
- URL: `https://api.cxxx.eagleeyenetworks.com/api/v3.0/alertTypes`
- Auth: HTTP bearer

Fetches all the alert types that are currently supported.

## Query parameters

- `pageToken` string
- `pageSize` integer

## Response `200`

Success, lists field values as populated in the alerts.

- ApiPaginatedAlertTypesResponse: Used to wrap results for a paginated response, containing information on how to retrieve further pages.
  - `nextPageToken` string, nullable, required: Token to retrieve the next page. The value of this token is passed into the field pageToken. This value can be null if there is no next page.
  - `prevPageToken` string, nullable, required: Token to retrieve the previous page. The value of this token is passed into the field pageToken. This value can be null of there is no previous page.
  - `results` object[], required: The result set from a collection API call.
    - `type` string: Unique identifier for the specific alert type.
    - `description` string: Short text to display to users to identify the alert type. Currently only returned in English.

## Other responses

- `400`: The supplied object is invalid. Error detail will contain the validation error.
- `401`: You are not authenticated. Please authenticate and try again.
- `403`: You have no permission to access the specified resource.
- `500`: Something went wrong in the server. Please try again.

---

[API](https://skmtc.dev/eagleeyenetworks/apis/events.md) - [All operations](https://skmtc.dev/eagleeyenetworks/apis/events/llms.txt) - [OpenAPI document](https://skmtc.dev/eagleeyenetworks/apis/events/revisions/3092457362ad?raw)
