Skip to main content

Authentication And Scoped Permissions

Curacel APIs use bearer authentication for approved customers and partners. Send the API credential in the Authorization header on every protected request.

Authorization: Bearer <CURACEL_API_KEY>

API credentials are issued during onboarding for a specific customer, partner, product, environment, and permission set. Treat each credential as a secret. Store credentials on trusted servers only, rotate them regularly, and revoke credentials that are no longer needed.

Current Authentication Method​

Curacel currently documents bearer API key authentication for public API integrations. OAuth 2.0 or OpenID Connect support should only be used if Curacel has explicitly provisioned it for your integration.

Environments​

Curacel separates sandbox and production access.

EnvironmentPurposeCredential handling
SandboxDevelopment and integration testingUse sandbox credentials only with sandbox endpoints and test data.
ProductionLive customer, policy, claim, payment, or document workflowsUse production credentials only from trusted production systems.

Scoped Permissions​

Curacel credentials should be provisioned with the minimum permissions needed for the integration. Available permissions depend on the product and partner agreement.

PermissionDescription
claims:readRead claim records, claim status, and claim details.
claims:writeCreate or update claims and submit claim-related actions.
policies:readRead policy, product, quote, or coverage data.
policies:writeCreate quotes, bind policies, or update policy-related records.
payments:readRead payment, invoice, wallet, balance, or transaction records.
payments:writeCreate payment links, invoices, payouts, top-ups, or other payment actions.
documents:readRead document extraction jobs, results, and metadata.
documents:writeUpload files and create document extraction jobs.
webhooks:readView configured webhook endpoints and delivery status.
webhooks:writeCreate, update, rotate, or remove webhook endpoints and secrets.
admin:readRead organization, user, provider, or partner configuration where allowed.
admin:writeManage organization, user, provider, or partner configuration where allowed.

Product Permission Groups​

ProductTypical permission groups
Curacel Healthclaims:read, claims:write, policies:read, admin:read, webhooks:read
Curacel Growpolicies:read, policies:write, payments:read, payments:write, claims:read, claims:write
Curacel Paypayments:read, payments:write, webhooks:read, webhooks:write
Curacel Autopolicies:read, policies:write, claims:read, claims:write, documents:write
Curacel Extractdocuments:read, documents:write

Agent Integration Guidance​

Agents should not ask users to paste Curacel credentials into chat. Agents should request credentials through the customer's approved secret manager, environment variables, or backend configuration.

Use the least privileged credential available. If a workflow only reads claim status, request claims:read, not claims:write or broad administrative access.

If a request fails with 401, the credential is missing, invalid, expired, revoked, or being used against the wrong environment. If a request fails with 403, the credential is valid but does not have the required permission for that operation.

Error Responses​

{
"message": "Unauthenticated."
}
{
"message": "Forbidden.",
"required_permission": "claims:write"
}