Sync Medicare customers and policies
Authorization
x-api-key API key required for authentication.
Keys begin with 'cc_' prefix. Get your API key from the Developer Dashboard.
In: header
Request Body
application/json
POST /v2/sync/medicare Request body
TypeScript Definitions
Use the request body type in TypeScript.
Array of Medicare customer/policy records to sync (1-100)
Medicare Beneficiary Identifier
Customer phone number (required). Accepts: +1XXXXXXXXXX, XXXXXXXXXX, (XXX) XXX-XXXX
Customer postal code. Required if timezone is not provided (for TCPA compliance).
Customer timezone. Required if postalCode is not provided (for TCPA compliance). Accepts IANA format (America/New_York) or abbreviations (EST, CST, MST, PST).
Customer date of birth. Format: MM-DD-YYYY or MM/DD/YYYY
Your external system identifier for this customer
Custom field values (max 50) Your Custom Field keys can be found here in your settings
Custom field key (e.g., 'lead_source', 'utm_campaign')
Value for the custom field
Medicare policies to sync (max 10). policyType must be MA, MAPD, MS, or PDP.
Name of the carrier
Name of the policy
Plan code of the policy
Agent Of Record NPN
Policy type (required). Must be one of: MA, MAPD, MS, PDP
2 Letter State of the policy
The current status of the policy
Agent Of Record First Name
Agent Of Record Last Name
Number of lives covered by the policy
SunFire enrollment code (primary identifier for matching)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.carecycle.ai/v2/sync/medicare" \ -H "Content-Type: application/json" \ -d '{ "records": [ { "firstName": "string", "lastName": "string", "mbiNumber": "string", "phoneNumber": "string" } ] }'{
"succeeded": 0,
"failed": 0,
"errors": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"externalId": "string",
"error": "string"
}
]
}{
"message": "string",
"code": "string"
}{
"message": "string",
"code": "string"
}{
"message": "string",
"code": "string"
}{
"message": "string",
"code": "string"
}{
"message": "string",
"code": "VALIDATION_ERROR",
"errors": [
{
"path": [
"string"
],
"message": "string",
"expected": "string",
"received": "string",
"code": "string"
}
]
}{
"message": "string",
"code": "string",
"retryAfter": 0
}{
"message": "string",
"code": "string"
}