3 endpoints · base URL https://flexysure.intrepidprojects.co.ke/api/v1
Insurance Cloud's ERP endpoints, record for record, for integrators syncing an accounting or ERP system: {status, <records>[], meta, links} with page/per_page. Amounts are whole shillings. Visibility: staff tokens see every record; agents (actor with own-records visibility, or X-Agent-Code/X-Agent-Key) see records they created, records of clients they are the salesperson for, and claims on policies they created. agents[] lists the agents attached to a record (its creator and the client's salesperson, when they are agents).
Status mapping: 1 = active (active); 0 = inactive (awaiting payment, cancelled, expired, renewed, void); 2 = all (default). In the response status is 1 or 0 and status_label carries Flexysure's status. starting/ending filter on the cover start date. transaction is "New business" or "Renewal"; receipted is what has been paid against the policy's debit notes and balance what is still owed.
Scope
read
Authentication
Bearer token
Rate limit
5 requests per minute per API client (Insurance Cloud parity), on top of the platform limit
Idempotency
Safe to repeat (read only).
Agent headers
Accepts X-Agent-Code and X-Agent-Key: the call runs as that agent and sees only the agent's own records.
Headers
Header
Meaning
Authorization
Bearer <access_token> (scope read)
X-Agent-Code
Optional. Agent code of the selling agent; the call runs with that agent's visibility.
X-Agent-Key
Optional, with X-Agent-Code. The agent's API key; a mismatch returns 403 agent_denied.
Parameters
Name
In
Type
Required
Description
status
query
integer
No
0 inactive, 1 active, 2 all (default).
One of: 0, 1, 2
claim_type is Insurance Cloud's Legal / Non Legal; cause is the kind of loss. starting/ending filter on the reported date. claim_amount is the estimate, paid_amount what has been paid.
Scope
read
Authentication
Bearer token
Rate limit
5 requests per minute per API client (Insurance Cloud parity), on top of the platform limit
Idempotency
Safe to repeat (read only).
Agent headers
Accepts X-Agent-Code and X-Agent-Key: the call runs as that agent and sees only the agent's own records.
Headers
Header
Meaning
Authorization
Bearer <access_token> (scope read)
X-Agent-Code
Optional. Agent code of the selling agent; the call runs with that agent's visibility.
X-Agent-Key
Optional, with X-Agent-Code. The agent's API key; a mismatch returns 403 agent_denied.