Files

14 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2026-08-15 15:05:39 -06:00
# Ops Monitor telemetry API contract
Ops Monitor remains the owner of raw Postmark event ingestion. The email-list system consumes an authenticated bearer-token API rather than reading Ops Monitor files directly.
## Required v1 endpoints
- `GET /v1/email/paddlenet/campaigns/{campaign_id}/summary`
- `GET /v1/email/paddlenet/campaigns/{campaign_id}/apparent-non-openers`
Both return `schema_version: "1.0"`. The apparent-non-opener response includes only normalized email addresses eligible for one authorized follow-up. The client applies current local and Postmark suppression checks again before delivery.
The endpoint receives `Authorization: Bearer <TELEMETRY_API_TOKEN>`. The token is distinct from Postmark credentials and is stored only in each VM's private `.env` file.
The v1 follow-up uses the original authorized subject unchanged and runs at most once per campaign. A scheduled execution reads this endpoint, intersects the result with the original recipient snapshot, then rechecks active local status and current Postmark suppressions.