Docs / Reference

API access and webhooks

The Affirm Core API lets a partner’s system, or your own, do what a coordinator does in the app: create cases, add documents, and read the checklist. The full reference is on the developers page.

What it covers

Requesting a key

Keys are issued by AffirmDME, for one organization at a time. An organization admin requests one under Settings → Integrations → API access → Request a key:

Send request sends it to AffirmDME. The request appears on the same card with its status; a declined request shows the reason. When a key is issued or revoked, the organization’s admins are told by email. Your organization’s BAA must be signed, and where a partner will hold the key, the partner’s agreement must be in place.

How the secret is handed over

The key’s secret never appears in an email or on the Settings page. The contact you named receives a link. Opening it shows the key once. The link works a single time and expires 24 hours after it is issued. If it expires or was opened by the wrong person, revoke the key and request another.

Seeing and revoking keys

Every key issued for the organization is listed on the API access card with its name, prefix, scopes, rate limit, and when it was issued and last used. Revoke stops the holder’s requests at once.

Scopes and limits

A key works only inside the organization it was issued for.

Webhooks

Settings → Integrations → Webhooks → Add endpoint registers an HTTPS address to be told when something changes:

The endpoint’s signing secret is shown once, when you add it. Each delivery is a signed POST (X-AffirmDME-Signature); the developers page has the verification code. A failed delivery is retried after 1, 5 and 15 minutes. Payloads carry case identifiers and statuses, never patient details.

Each endpoint has a test send and a delivery log showing every attempt and its result.