# Event Types

## Create an Event Type

{% hint style="info" %}
An Event Type is some action or event in your application that will trigger a notification to be sent. For example, in a social media application this might be "Someone added you as a friend." or "Someone liked your photo."
{% endhint %}

* [ ] Go to the Event Types tab and click the New Event Type button

![](/files/-M4k1qQqFps3xNcsobiU)

* [ ] Give the event type a name and description. The description will be helpful for your customers to understand when they are viewing the settings page within the notification center. The API Endpoint will automatically be generated after you save. At the bottom you can click “+Add Template” to assign the [template](/templates.md) you created before to this Event Type. This will make it so that whenever this Event Type occurs, the template is used to send a notification to your customer. Click save when you’re done.

![](/files/-M4k23HAlWwj7wgOdqzm)

* [ ] After saving, you’ll see the API Endpoint generated. You’ll want to save this and use it when sending your first notification. [See the Getting started guide for a full end to end example](/master.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ravenhub.io/event-types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
