API REFERENCE
Partner API keys
Let an insurer's own claims system work with Lodged directly.
An insurer with its own claims system can call the Partner API instead of having staff work in the web app. The system can list the claims sent to the insurer, read their timeline and documents, read and answer info tickets, and read and send messages.
Before issuing a key
- The insurer is active and verified.
- Partner API keys are switched on for this server. If not, issuing shows “Partner API keys are turned off on this server.”
- To answer info tickets or send messages, the insurer's Claim processing is set to Lodged (Integration tab).
Issue a key
-
1
Open the insurer
Admin · Organisations → insurer → Partner API keys
-
2
Issue key
Choose the environment (Sandbox for testing, Production for live), an optional description, the scopes and the expiry (never, 90 days, 1 year).
-
3
Copy the key and hand it over safely
The key is shown once. Lodged keeps only a hash. Send it to the insurer through a secure channel, never in plain email or chat.
Scopes
| Scope | Allows |
|---|---|
| Read claims | List claims, read a claim and its timeline |
| Read info tickets | Read information requests on a claim |
| Answer info tickets | Create and act on information requests |
| Read messages | Read a claim's messages |
| Send messages | Post a message on a claim |
| Read documents | List and download a claim's documents |
How the insurer uses it
Every call sends the key as a bearer token. The key works only on the server of its environment: a sandbox key is refused by production.
curl https://<api host>/partner/v1/claims -H "Authorization: Bearer lodgedk_sandbox_…"
Revoke a key
In the same tab, Revoke and confirm. Calls with that key are refused at once. A revoked key cannot be restored: issue a new one. The table shows each key's status and when it was last used.