---
title: "Modules: OpsGenie"
date: 2018-05-08T20:53:40-07:00
draft: false
---
Connects to the OpsGenie API and displays all your scheduled rotations
and who's currently on call.
## Source Code
```bash
wtf/opsgenie/
```
## Required ENV Variables
Key: `WTF_OPS_GENIE_API_KEY`
Value: Your OpsGenie
API token.
## Keyboard Commands
None.
## Configuration
```yaml
opsgenie:
displayEmpty: false
enabled: true
position:
top: 2
left: 1
height: 2
width: 1
refreshInterval: 21600
```
### Attributes
`displayEmpty`
Whether schedules with no assigned person on-call should be displayed.
Values: `true`, `false`.
`enabled`
Whether or not this module is executed and if its data displayed onscreen.
Values: `true`, `false`.
`position`
Where in the grid this module's widget will be displayed.
`refreshInterval`
How often, in seconds, this module will update its data.
Values: A positive integer, `0..n`.