On-Call API › Integrations
Get an integration
GET/api/v1/integrations/{id}
Returns one integration.
An integration carries its ingest key (api_key), the credential a
monitoring tool sends alerts with — treat these responses as secrets. An
integration that belongs to a team is visible only to callers in that team;
others get 404.
Permission (API-key scope): oncall:integration:read.
Authorization
bearerAuth(oncall:integration:read)apiKeyHeader(oncall:integration:read)
Parameters
Path parameters
idstring requiredThe integration's id.
Responses
200
The integration.
dataIntegration requiredShow Integration properties
idstringorg_idstringteam_idstringnamestringtypestringThe integration kind, e.g.prometheus,grafana,api,webhook,email,github.api_keystringThe ingest key. A credential: treat it as a secret.email_addressstringInbound address, foremailintegrations only.enabledbooleanescalation_policy_idstringlast_event_atstring (date-time)event_countintegersigning_secret_configuredbooleanWhether a signing secret is set. The secret itself is never returned.external_sourcestringexternal_idstringcreated_atstring (date-time)updated_atstring (date-time)
successboolean required
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
404
No such integration in your organization or your teams (INTEGRATION_NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
Example request
curl -X GET 'https://evohub.io/api/v1/integrations/int_6e5d4c3b-2a19-4f8e-b7d6-c5b4a3928170' \
-H 'Authorization: Bearer <TOKEN>'