Business Associate Agreement
Accepting and downloading your BAA
Your account's Business Associate Agreement (BAA) covers every document you process with Lype. It is accepted once per account, not per document.
Check status
curl https://api.lype.com/api/baa -H "x-api-key: $LYPE_API_KEY"{
"currentVersion": "2026-10-06-draft",
"accepted": false,
"acceptance": null,
"downloadUrl": "/api/baa/download"
}accepted— whether your account has accepted the current version.acceptance— your most recent acceptance of any version (who, when, which version), ornull.
Accept
curl -X POST https://api.lype.com/api/baa/accept \
-H "x-api-key: $LYPE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"organizationName": "Acme Clinic", "signerName": "Jane Doe", "signerTitle": "Compliance Officer"}'| Field | Required | Notes |
|---|---|---|
organizationName | Yes | Up to 256 characters |
signerName | Yes | Up to 256 characters |
signerTitle | No | Up to 256 characters |
The account's email address, the time, and the exact agreement text you accepted are recorded. Accepting the same version again keeps the original acceptance.
Download
curl -OJ https://api.lype.com/api/baa/download -H "x-api-key: $LYPE_API_KEY"Returns the executed copy of your most recently accepted version, including the signature details and a SHA-256 hash of the agreement text. Before you accept, it returns an unsigned copy of the current version.
New versions
When the agreement changes, it gets a new version. accepted becomes false until you accept the new version; your previously executed copy remains available until then.