Fetch an Alert
GET /api/0/organizations/{organization_id_or_slug}/workflows/{workflow_id}/
Returns an alert.
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
workflow_id(integer)REQUIREDThe ID of the alert you'd like to query.
Scopes
You need to authenticate via bearer auth token.
<auth_token> requires one of the following scopes:alerts:readorg:adminorg:readorg:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/workflows/{workflow_id}/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied{ "id": "6789123", "name": "My Alert", "organizationId": "1", "createdBy": "1234567", "dateCreated": "2026-01-14T20:08:32.273220Z", "dateUpdated": "2026-01-14T20:08:32.273209Z", "triggers": { "id": "345678", "organizationId": "1", "logicType": "any-short", "conditions": [ { "id": "234", "type": "first_seen_event", "comparison": true, "conditionResult": true }, { "id": "567", "type": "issue_resolved_trigger", "comparison": true, "conditionResult": true }, { "id": "891", "type": "reappeared_event", "comparison": true, "conditionResult": true }, { "id": "789", "type": "regression_event", "comparison": true, "conditionResult": true } ], "actions": [] }, "actionFilters": [ { "id": "345678", "organizationId": "1", "logicType": "any-short", "conditions": [ { "id": "234567", "type": "issue_priority_deescalating", "comparison": true, "conditionResult": true } ], "actions": [ { "id": "45678", "type": "slack", "integrationId": "1", "data": {}, "config": { "targetType": "specific", "targetDisplay": "@jane-doe", "targetIdentifier": "ABCDE123456" }, "status": "active" } ] } ], "environment": null, "config": { "frequency": 1440 }, "detectorIds": [ "1234567" ], "enabled": true, "lastTriggered": null }
Was this helpful?