> For the complete documentation index, see [llms.txt](https://api-v2-docs.disasteraware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-v2-docs.disasteraware.com/hazards/requesting-active-hazards/requesting-hazard-categories.md).

# Requesting Hazard Categories

To request the list of hazard categories configured in the system please use the route defined here:

{% openapi src="/files/wYQaKpPZEdPb68ZWOF6w" path="/hazards/categories" method="get" %}
[openapi.yaml](https://3664004773-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbwQ2AvqpbIy1hD3QFTQG%2Fuploads%2Fgit-blob-ad3207376652be88415648e56d649a656e8df8f6%2Fopenapi.yaml?alt=media)
{% endopenapi %}

{% hint style="info" %}
See [Authorizing Requests](/authentication/authorizing-requests.md#get-accesstoken-and-refreshtoken) page to get your accessToken.
{% endhint %}

This request will return an array that contains all of the hazard categories. Each element in the array will have two properties:

| Properties         | Definitions                                                                                                      |
| ------------------ | ---------------------------------------------------------------------------------------------------------------- |
| **category\_id**   | This is like the primary key for the hazard category. This is the value that will be found on the hazard object. |
| **category\_name** | A human readable value for the category e.g. Event.                                                              |

{% hint style="info" %}
The following shapes are associated with each hazard category:
{% endhint %}

| Categories   | Shapes   |
| ------------ | -------- |
| **EVENT**    | Circle   |
| **RESPONSE** | Star     |
| **EXERCISE** | Triangle |
| **OTHER**    | Hexagon  |
