Skip to main content
GET
/
insurance-providers
List insurance providers
curl --request GET \
  --url https://api.usecobalt.com/v1/insurance-providers \
  --header 'access_token: <api-key>' \
  --header 'client_id: <api-key>' \
  --header 'client_secret: <api-key>'
{
  "success": true,
  "insurance_providers": [
    {
      "id": "<string>",
      "name": "<string>",
      "payer_id": "<string>",
      "active": true,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "total_pages": 2,
    "total_count": 151,
    "page_size": 100
  }
}

Use Cases

  • Get the correct insurance_provider_id before adding patient insurance
  • Search providers by name for autocomplete functionality
  • Display paginated lists of insurance options to end users
  • Filter providers by active status

Query Parameters

  • name (string, optional): Filter by provider name (case-insensitive partial match)
  • page (integer, optional): Page number (default: 1, min: 1)
  • page_size (integer, optional): Items per page (default: 100, max: 100)
  • active (boolean, optional): Filter by active status (true/false)

Example Requests

Get First Page

curl -X GET "https://api.usecobalt.com/v1/insurance-providers" \
  -H "client_id: your_client_id" \
  -H "client_secret: your_client_secret" \
  -H "access_token: your_access_token"

Search by Name

curl -X GET "https://api.usecobalt.com/v1/insurance-providers?name=blue%20cross" \
  -H "client_id: your_client_id" \
  -H "client_secret: your_client_secret" \
  -H "access_token: your_access_token"

Get Page 2 with 50 Items

curl -X GET "https://api.usecobalt.com/v1/insurance-providers?page=2&page_size=50" \
  -H "client_id: your_client_id" \
  -H "client_secret: your_client_secret" \
  -H "access_token: your_access_token"

Filter Active Providers

curl -X GET "https://api.usecobalt.com/v1/insurance-providers?active=true" \
  -H "client_id: your_client_id" \
  -H "client_secret: your_client_secret" \
  -H "access_token: your_access_token"

Example Response

{
  "success": true,
  "insurance_providers": [
    {
      "id": "abc123def456",
      "name": "AHMC Health",
      "payer_id": "98999",
      "active": true,
      "created_at": "2025-01-01T10:00:00.000Z"
    },
    {
      "id": "xyz789ghi012",
      "name": "Blue Cross Blue Shield",
      "payer_id": "12345",
      "active": true,
      "created_at": "2025-01-01T10:00:00.000Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "total_pages": 5,
    "total_count": 450,
    "page_size": 100
  }
}

Response Fields

Top-Level Fields

  • success (boolean): Whether the request was successful
  • insurance_providers (array): Array of insurance provider objects
  • pagination (object): Pagination metadata

Insurance Provider Object

  • id (string): Cobalt insurance provider ID - use this value in POST /v1/patients/:patient_mrn/insurances
  • name (string): Insurance provider name as it appears in the EMR system
  • payer_id (string): Insurance payer ID
  • active (boolean): Whether the provider is currently active
  • created_at (string): ISO 8601 timestamp of when the provider was added

Pagination Object

  • current_page (integer): Current page number
  • total_pages (integer): Total number of pages
  • total_count (integer): Total number of providers matching the filter
  • page_size (integer): Number of items per page
When adding patient insurance, using the insurance_provider_id from this endpoint is the most reliable method for identifying the insurance provider.

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Query Parameters

name
string

Filter by provider name (case-insensitive partial match)

page
integer
default:1

Page number (default: 1, min: 1)

Required range: x >= 1
page_size
integer
default:100

Items per page (default: 100, max: 100)

Required range: 1 <= x <= 100
active
boolean

Filter by active status (true/false)

Response

Successful response

success
boolean
insurance_providers
object[]
pagination
object