Skip to content

Fold API and Webhooks

Build on the same API our AI agents use.

Read work items, prepare changes and receive signed webhooks. People keep approvals. Access is on request.

Fold runs the work between your feeds and EHR.

Feeds come in, AI agents prepare, people approve and updates go back. Your EHR stays the record.

  1. 01You send

    • ADT feedHL7 v2 A01 A03 A08
    • Enrollment and claimsX12 834 and 837
    • Chart accessFHIR R4
  2. 02Fold runs

    • PrepareAgents draft within scopes
    • ApproveA named person decides
    • CloseDone only when evidence exists
  3. 03You receive

    • Your warehouseSigned events
    • Your appsWork items and approvals
    • Your EHRFHIR updates where supported

Every step is an event.

Your endpoint gets a signed event for every step, with actor and time.

A work item is done only when evidence exists.

member work_item agent_action approval evidence eventYour care team works in these same records.

Your services can read and prepare, never approve.

OAuth client credentials grant scoped reads and drafts. Only signed in people approve.

Signed, retried, safe to replay.

Deliveries can repeat. Verify each one and process it once.

  1. Signed

    Verify the signature against the raw body.

  2. Retried

    Expect retries with the same event id.

  3. Processed once

    Record handled ids and acknowledge repeats.

Deployment options

Choose by where your people work.

We meet you where you are in your technology strategy. Connections to 20+ EHRs, AI agents, approvers and the audit trail stay the same.

Comparison of the three deployment options
Fold appsWeb, iOS and Android, under your brandInside your EHREmbeddedYour own productHeadless APIs
Who works thereCare managers and coordinatorsPhysicians at the point of careYour product and engineering teams
What you set upConfigure with FoldAn EHR launch with your IT teamYour own interface on these APIs
BrandYour name and domainYour EHR’s screens with a Fold panelEntirely yours
Same in every optionData connectionsAI agents and named approversOne audit trail
  • Fold apps

    Web, iOS and Android, under your brand

    Who works there
    Care managers and coordinators
    What you set up
    Configure with Fold
    Brand
    Your name and domain
  • Inside your EHR

    Embedded

    Who works there
    Physicians at the point of care
    What you set up
    An EHR launch with your IT team
    Brand
    Your EHR’s screens with a Fold panel
  • Your own product

    Headless APIs

    Who works there
    Your product and engineering teams
    What you set up
    Your own interface on these APIs
    Brand
    Entirely yours

Same in every option

  • Data connections
  • AI agents and named approvers
  • One audit trail

Your owners approve four gates. We set dates after reviewing your feeds.

  1. Connect

    Your data steward signs off matched records.

  2. Validate

    Your clinical owner signs the workflow map.

  3. Supervised go live

    Routing, approvals and evidence meet your criteria.

  4. Measure and expand

    Your sponsor decides expansion on agreed thresholds.

Is the API public?

Not yet. Access is set up per deployment. Documentation is shared on request.

Can our own AI agents call Fold?

Yes, as a scoped client. They read and prepare work. Signed in people approve.

What PHI is in a webhook?

Workflow status tied to a member, so treat every delivery as PHI. Documents are separate scoped reads, each logged.

Can we mix the deployment options?

Yes. Care managers on the console, physicians in the EHR, product teams on APIs. We scope only what you add.

Does Fold replace our EHR?

No. Your EHR stays the system of record. Fold writes back only where confirmed for your deployment.

What do we confirm before building?

Test access, authentication, tenant boundaries, rate limits, retries and EHR write permissions. We review hosting and data flows with your security team.

Plan your
Fold integration.

Before you write code, our engineers and clinical leads map your feeds, scopes and write boundaries with you.

Talk to our engineers