Test if your API key is valid, and which roles it has.
API key from your incident.io dashboard (Settings → API keys)
OK response.
{
"dashboard_url": "https://app.incident.io/my-org",
"name": "Alertmanager token",
"roles": ["viewer"],
"team_roles": ["schedules_editor"],
"teams": [
{
"id": "01G0J1EXE7AXZ2C93K61WBPYEH",
"name": "Platform"
}
]
}