Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Curacel Health Developer Auth API
description: 'Welcome to the Curacel Health API Reference!
This API is designed to streamline and enhance your health insurance processing experience.
With these API endpoints, you would be able to create health insurance claims on our platform.
These can be used by
- EMR (electronic medical records) systems to submit claims to health insurers (HMOs)
- Health insurer ERPs to push claims to Curacel for auto adjudication'
contact:
email: support@curacel.ai
license:
name: Curacel Terms And Agreement
url: https://curacel.co/terms-and-conditions.php
version: 1.0.0
servers:
- url: https://api.health.curacel.co/api
description: Production
- url: https://api.sandbox.claims.curacel.co/api
description: Sandbox
security:
- bearerAuth: []
tags:
- name: Auth
paths:
/v1/auth/login:
post:
tags:
- Auth
summary: Generate a temporal access token
description: Generate temporal access token using a specific user's credentials
security: []
operationId: login
requestBody:
description: User credentials to be used for login
required: true
content:
application/json:
schema:
type: object
required:
- email
- password
properties:
email:
description: The email of the organization user as registered in the records.
type: string
format: email
password:
description: The password of the organization user as registered in the records.
type: string
format: password
sub_account_id:
type: number
description: 'The ID of the sub-account to be used for this login. This is only required when the user''s organization has multiple sub-accounts.
**NB: The list of available sub-accounts for a user''s organization (if applicable and available) can be retrieved by making the request without this parameter (sub_account_id).**'
responses:
'200':
description: Success
content:
application/json:
schema:
oneOf:
- type: object
properties:
sub_account_id_required:
type: boolean
description: This is set to true if user's organization has multiple sub-accounts that can be accessed and a sub-account ID was not given in the request body.
sub_accounts:
type: array
description: An array of available sub-accounts for the user's organization.
items:
type: object
properties:
id:
type: integer
description: The ID of the organization sub-account.
name:
type: string
description: The name of the organization sub-account.
- type: object
properties:
token:
type: string
description: The access token to be used for subsequent requests.
format: token
'400':
description: Bad request, Invalid email or password
'401':
description: Unauthorized, Invalid credentials specified
'403':
description: Forbidden Request
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API KEY from your account dashboard
description: Curacel uses bearer API keys for approved customer and partner integrations. Credentials should be scoped by environment, organization, product, and least-privilege permissions. Common permission names include claims:read, claims:write, policies:read, policies:write, payments:read, payments:write, documents:read, documents:write, webhooks:read, webhooks:write, admin:read, and admin:write. See https://docs.curacel.co/auth.md.
x-permissions:
- claims:read
- claims:write
- policies:read
- policies:write
- payments:read
- payments:write
- documents:read
- documents:write
- webhooks:read
- webhooks:write
- admin:read
- admin:write