> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://mezmo.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mezmo.ferndocs.com/_mcp/server.

# OpsGenie Alert Integration

The OpsGenie alert integration interacts with the [OpsGenie Alert API ](https://docs.opsgenie.com/docs/alert-api)and enables users to create alerts in OpsGenie based off of log data in Mezmo.

![](https://uploads.developerhub.io/prod/2KW7/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png)

After clicking on OpsGenie- a window pops up with options for test, presence and absence alerts.

Test alerts allow the user to test with a third party integration, presence alerts send alerts to the third party integration after a criteria is met (i.e. 5 or more matches within 30 seconds) and [absence alerts](https://www.mezmo.com/blog/logdna-absence-alerting) send an alert when there are fewer log lines than anticipated.

![](https://uploads.developerhub.io/prod/2KW7/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png)

![](https://uploads.developerhub.io/prod/2KW7/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png)

To retrieve the API key from OpsGenie- go to Teams >  Integrations > Add Integration > API Integration. Input the API key into the API key section of the Mezmo OpsGenie alert integration (shown above).

![](https://uploads.developerhub.io/prod/2KW7/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png)

![](https://uploads.developerhub.io/prod/2KW7/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png)

![](https://uploads.developerhub.io/prod/2KW7/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png)

![](https://uploads.developerhub.io/prod/2KW7/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png)

![](https://uploads.developerhub.io/prod/2KW7/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png)

![](https://uploads.developerhub.io/prod/2KW7/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png)

![](https://uploads.developerhub.io/prod/2KW7/w98u1af7gegyx3wfg2n1d1y3g5mgnp4yr0rqmiy175asl6s92oug6qwg7k73rk1g.png)

After saving the alert or hitting test from your Mezmo window- the alert will now appear in OpsGenie under Alerts! The first alert is an example Mezmo test alert integrated with OpsGenie.

![](https://uploads.developerhub.io/prod/2KW7/f8892pu2738xjvwp5kkc7bokckpzg0qb05fcyvold9yulpf1hxhux0riy2itqytz.png)

![](https://uploads.developerhub.io/prod/2KW7/tx4weutuq2n30ai6p87vk1suwdzmoz5j1tf2dtwna9z99zvlnak8fr175aaimluo.png)

![](https://uploads.developerhub.io/prod/2KW7/5ka6drr4mz22h8lb97xm4e2wy5sp5jdimxnifozco0tx18x02mjnz4f319twrvuz.png)

![](https://uploads.developerhub.io/prod/2KW7/w98u1af7gegyx3wfg2n1d1y3g5mgnp4yr0rqmiy175asl6s92oug6qwg7k73rk1g.png)

![](https://uploads.developerhub.io/prod/2KW7/4g362r9rjb6ukzw9mxraritdpcul1kpl592u0n3n7zkqkmjc7ytgf2npdd7eojpk.png)

**NOTE**: The US OpsGenie endpoint is used by default.  If using the EU OpsGenie endpoint is required please reach out to [support@mezmo.com](mailto:support@mezmo.com).