> 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-types.md).

# Requesting Hazard Types

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

{% openapi src="/files/wYQaKpPZEdPb68ZWOF6w" path="/hazards/types" 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 types. Each element in the array will have three properties:

| Properties     | Definitions                                                                                                                                                                                                                                                                                                          |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **type\_id**   | This is like the primary key for the hazard type. This is the value that will be found on the hazard object.                                                                                                                                                                                                         |
| **type\_name** | A human readable value for the hazard e.g. Volcano.                                                                                                                                                                                                                                                                  |
| **type\_icon** | This is the url for the hazard type icon's image e.g. avalanche.png. The hazard icons are hosted at:[ https://static.pdc.org/icons/hazard/large/](https://static.pdc.org/icons/hazard/large/). To construct the fully qualified location for the hazard type's icon combine the host location with type\_icon value. |
