2 endpoints · base URL https://flexysure.intrepidprojects.co.ke/api/v1
Single-trip travel cover with Insurance Cloud field names, including its spellings (traveling_from, benefitiary_relationship, benefitiary_phone_no) — the correct spellings are accepted too. Cover runs from departure to return.
Days are counted departure to return inclusive; the destination country maps to a region (Schengen, Africa, worldwide…) and every plan for that region or worldwide quotes. Nothing is stored.
Scope
quote
Authentication
Bearer token
Rate limit
60 requests per minute per token (per-client override)
Idempotency
Not keyed. Check before retrying.
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 quote)
X-Agent-Code
Optional. Agent code; with X-Agent-Key the agent becomes the creator.
Re-prices the trip for the number of travellers listed and checks policy.premium within KES 1. policy.quoteId (numeric) or coverName picks the plan; otherwise the insurer's cheapest plan. Each traveller needs a passport or ID number.
Scope
bind
Authentication
Bearer token
Rate limit
60 requests per minute per token (per-client override)
Idempotency
Required: send an Idempotency-Key; a retry with the same key replays the first response.
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 bind)
Idempotency-Key
Required. Unique per save; replays return the first response.
X-Agent-Code
Optional. Agent code; with X-Agent-Key the agent becomes the creator.