Get the Opsgenie integration
Whether Opsgenie is connected and believed, where its credentials are kept and whether they are there (never their values), the signing token as its last four characters, which alerts count, and the schedules mapped to on-call groups. `standing` is `ok` while the last read of the schedules worked an
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The integration.
application/json- response
standing*OpsgenieStanding"not_connected""ok""stale"connection?syncedAt?stringdate-timesyncError?stringlastAlertAt?stringWhen the last webhook was believed.
date-timetokenMask?stringThe signing token as its prefix and last four characters, such as whtok_••••3b9e.
paused*booleanrefs*array<>mappings*array<>schedules*array<>curl -X GET 'https://wardn.example.com/api/v1/opsgenie'{ "standing": "not_connected", "connection": { "name": "string", "region": "us", "baseUrl": "string", "webhookPath": "string", "openAlerts": true, "signingToken": "string", "connectedAt": "2019-08-24T14:15:22Z" }, "syncedAt": "2019-08-24T14:15:22Z", "syncError": "string", "lastAlertAt": "2019-08-24T14:15:22Z", "tokenMask": "string", "paused": true, "refs": [ { "field": "string", "ref": "string", "found": true } ], "mappings": [ { "tag": "string", "environment": "string", "minPriority": 1 } ], "schedules": [ { "scheduleId": "string", "scheduleName": "string", "groupId": "eb54e96e-21b8-4f54-9cd4-80fccbd06f55", "known": true, "onCall": [ "string" ], "lastError": "string", "checkedAt": "2019-08-24T14:15:22Z" } ]}Connect ServiceNow or Jira PUT
Connects the organization's ServiceNow instance or Jira site, or replaces its credentials. The credentials are checked with the system before anything is kept, and the password or token goes to the secret store: it is never returned. The address must be https and cannot name a private, loopback or l
Disconnect Opsgenie DELETE
Removes the connection, its webhook address, its credentials and what was mapped. Incidents already opened stay, and on-call groups it filled are emptied as they next sync. Disconnecting what is not connected changes nothing. Needs `integration:manage`.