API

Storing API data

What's safe to cache, what you must persist, and what should never leave Pierflow.

Pierflow is the system of record for canonical health data — your job is to store just enough to do your job well.

Always store#

FieldWhy
policy_idStable reference for every member action
member_idStable reference for the person
plan_idRender plan info quickly without an extra call
webhook event idsDeduplicate retries

Safe to cache#

FieldTTL
plan summaries1 hour
provider listings24 hours
verifications60 seconds

Never store on the client#

Identity documents (BVN, NIN, biometrics) and clinical PHI must stay server-side. Never embed in mobile bundles or browser local storage.