Thatch for Platforms API
Thatch for Platforms is a set of APIs and embeddable components, enabling you to effortlessly bring ICHRA (Individual Coverage Health Reimbursement Arrangement) benefits to your customers.
List employee payroll deductions
Authorizations:
query Parameters
employer_id required | string Example: employer_id=empl_01j9w59xh2p5d03z0zxgcv2vag Employer ID |
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
periods[start_after] | string <date> Example: periods[start_after]=2024-01-01 Periods starting on or after date, in ISO 8601 format |
periods[end_before] | string <date> Example: periods[end_before]=2024-01-01 Periods ending on or before date, in ISO 8601 format |
Responses
Response samples
- 200
{- "data": [
- {
- "employee_id": "employee_01j85kpd8yxkabyrm83d3h2ya3",
- "periods": [
- {
- "start_date": "2024-05-01",
- "end_date": "2024-05-31",
- "deductions": [
- {
- "amount": {
- "amount": 1099,
- "currency_code": "USD"
}, - "type": "s125_pretax",
- "applied_correction": {
- "amount": 1099,
- "currency_code": "USD"
}
}
]
}
]
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
Employees work for employers, both of which are managed by partners. Employees enrolled in plans are also represented in Thatch as member objects.
Create an employee
Authorizations:
Request Body schema: application/jsonrequired
employer_id required | string ID of the employee's employer |
first_name required | string Employee's first name |
last_name required | string Employee's last name |
personal_email | string Employee's personal email address (at least one email address must be set) |
work_email | string Employee's work email address (at least one email address must be set) |
metadata | object Set of key-value pairs that you can attach to an API resource. This can be useful for storing additional information about the resource in a structured format. Individual keys can be unset by posting an empty string value ( |
Responses
Request samples
- Payload
{- "personal_email": "string",
- "work_email": "string",
- "employer_id": "string",
- "first_name": "string",
- "last_name": "string",
- "metadata": { }
}
Response samples
- 201
{- "id": "employee_01j85kpd8yxkabyrm83d3h2ya3",
- "employer_id": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "personal_email": "ana.diaz@gmail.test",
- "work_email": "ana.diaz@acme.test",
- "first_name": "Ana",
- "last_name": "Diaz",
- "enrollment_events": [
- {
- "type": "open_enrollment",
- "subtype": "renewal",
- "plan_year": 2024,
- "start_date": "2024-11-01",
- "end_date": "2024-11-30",
- "status": "active"
}
], - "member_id": "mbr_01j85kpd8yxkabyrm83d3h2ya3",
- "metadata": {
- "key": "value"
}
}
Response samples
- 200
{- "id": "employee_01j85kpd8yxkabyrm83d3h2ya3",
- "employer_id": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "personal_email": "ana.diaz@gmail.test",
- "work_email": "ana.diaz@acme.test",
- "first_name": "Ana",
- "last_name": "Diaz",
- "enrollment_events": [
- {
- "type": "open_enrollment",
- "subtype": "renewal",
- "plan_year": 2024,
- "start_date": "2024-11-01",
- "end_date": "2024-11-30",
- "status": "active"
}
], - "member_id": "mbr_01j85kpd8yxkabyrm83d3h2ya3",
- "metadata": {
- "key": "value"
}
}
List employees
Authorizations:
query Parameters
employer_id | string Employer ID |
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "employee_01j85kpd8yxkabyrm83d3h2ya3",
- "employer_id": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "personal_email": "ana.diaz@gmail.test",
- "work_email": "ana.diaz@acme.test",
- "first_name": "Ana",
- "last_name": "Diaz",
- "enrollment_events": [
- {
- "type": "open_enrollment",
- "subtype": "renewal",
- "plan_year": 2024,
- "start_date": "2024-11-01",
- "end_date": "2024-11-30",
- "status": "active"
}
], - "member_id": "mbr_01j85kpd8yxkabyrm83d3h2ya3",
- "metadata": {
- "key": "value"
}
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
Update an employee
Authorizations:
path Parameters
id required | string ID of the employee |
Request Body schema: application/jsonrequired
personal_email | string Employee's personal email address (at least one email address must be set) |
work_email | string Employee's work email address (at least one email address must be set) |
first_name | string Employee's first name |
last_name | string Employee's last name |
metadata | object Set of key-value pairs that you can attach to an API resource. This can be useful for storing additional information about the resource in a structured format. Individual keys can be unset by posting an empty string value ( |
Responses
Request samples
- Payload
{- "personal_email": "string",
- "work_email": "string",
- "first_name": "string",
- "last_name": "string",
- "metadata": { }
}
Response samples
- 200
{- "id": "employee_01j85kpd8yxkabyrm83d3h2ya3",
- "employer_id": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "personal_email": "ana.diaz@gmail.test",
- "work_email": "ana.diaz@acme.test",
- "first_name": "Ana",
- "last_name": "Diaz",
- "enrollment_events": [
- {
- "type": "open_enrollment",
- "subtype": "renewal",
- "plan_year": 2024,
- "start_date": "2024-11-01",
- "end_date": "2024-11-30",
- "status": "active"
}
], - "member_id": "mbr_01j85kpd8yxkabyrm83d3h2ya3",
- "metadata": {
- "key": "value"
}
}
Employers onboard into a platform through employer onboarding sessions. After creating a session, provide the claim_url
to the onboarding iframe in your app.
Create an employer onboarding session
Authorizations:
Request Body schema: application/jsonrequired
employer required | string ID of the employer to create an onboarding session for |
Responses
Request samples
- Payload
{- "employer": "empl_01j2j3smtwx656y2tbqm7ty6gr"
}
Response samples
- 201
{- "employer": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "expires_at": "2024-09-11T12:50:46Z"
}
Create an employer
Authorizations:
Request Body schema: application/jsonrequired
email required | string Email address for employer's administrator |
name required | string Employer's name |
business_type required | string Enum: "c_corp" "s_corp" "llc" "partnership" "sole_proprietorship" "non_profit" Employer's business type |
ein required | string Employer's EIN (Employer Identification Number) |
address_line1 required | string Employer's address (line 1) |
city required | string Employer's city |
state required | string Enum: "AK" "AL" "AR" "AZ" "CA" "CO" "CT" "DC" "DE" "FL" "GA" "HI" "IA" "ID" "IL" "IN" "KS" "KY" "LA" "MA" "MD" "ME" "MI" "MN" "MO" "MS" "MT" "NC" "ND" "NE" "NH" "NJ" "NM" "NV" "NY" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VA" "VT" "WA" "WI" "WV" "WY" Employer's state |
zip required | string Employer's ZIP code, with optional +4 |
dba | string Employer's DBA (Doing Business As) name |
address_line2 | string Employer's address (line 2) |
phone_number | string Employer's phone number |
metadata | object Set of key-value pairs that you can attach to an API resource. This can be useful for storing additional information about the resource in a structured format. Individual keys can be unset by posting an empty string value ( |
Responses
Request samples
- Payload
{- "email": "admin@employer.test",
- "name": "Acme Corp",
- "business_type": "c_corp",
- "ein": "12-3456789",
- "dba": "string",
- "address_line1": "123 Main St",
- "address_line2": "",
- "city": "San Francisco",
- "state": "CA",
- "zip": "94108",
- "phone_number": "415-555-1212",
- "metadata": { }
}
Response samples
- 201
{- "id": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "name": "Acme Corp",
- "business_type": "c_corp",
- "ein": "12-3456789",
- "dba": "string",
- "address_line1": "123 Main St",
- "address_line2": "string",
- "city": "San Francisco",
- "state": "CA",
- "zip": "94108",
- "phone_number": "+14152370005",
- "metadata": {
- "key": "value"
}
}
Response samples
- 200
{- "id": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "name": "Acme Corp",
- "business_type": "c_corp",
- "ein": "12-3456789",
- "dba": "string",
- "address_line1": "123 Main St",
- "address_line2": "string",
- "city": "San Francisco",
- "state": "CA",
- "zip": "94108",
- "phone_number": "+14152370005",
- "metadata": {
- "key": "value"
}
}
List employers
Authorizations:
query Parameters
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "name": "Acme Corp",
- "business_type": "c_corp",
- "ein": "12-3456789",
- "dba": "string",
- "address_line1": "123 Main St",
- "address_line2": "string",
- "city": "San Francisco",
- "state": "CA",
- "zip": "94108",
- "phone_number": "+14152370005",
- "metadata": {
- "key": "value"
}
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
Update an employer
Authorizations:
path Parameters
id required | string ID of the employer |
Request Body schema: application/jsonrequired
metadata | object Set of key-value pairs that you can attach to an API resource. This can be useful for storing additional information about the resource in a structured format. Individual keys can be unset by posting an empty string value ( |
Responses
Request samples
- Payload
{- "metadata": { }
}
Response samples
- 200
{- "id": "empl_01j2j3smtwx656y2tbqm7ty6gr",
- "name": "Acme Corp",
- "business_type": "c_corp",
- "ein": "12-3456789",
- "dba": "string",
- "address_line1": "123 Main St",
- "address_line2": "string",
- "city": "San Francisco",
- "state": "CA",
- "zip": "94108",
- "phone_number": "+14152370005",
- "metadata": {
- "key": "value"
}
}
Get an enrollment
Authorizations:
path Parameters
id required | string Example: enrlmt_01j7h53qgy8m2q1f7563hbvpqj Enrollment ID |
Responses
Response samples
- 200
{- "id": "enrlmt_01j7h53qgy8m2q1f7563hbvpqj",
- "member_id": "mbr_01j7h53qa133q71z25n7a3w0n4",
- "coverage_types": [
- "medical",
- "dental",
- "vision"
], - "status": "completed",
- "status_events": [
- {
- "status": "completed",
- "timestamp": "2024-11-01T00:00:00Z"
}
], - "plan_id": "mdpln_01j7h53nf2j0hc5a235b6xmxn4",
- "plan_code": "standard",
- "premium": {
- "amount": 1099,
- "currency_code": "USD"
}, - "broker": {
- "name": "Thatch Health Insurance Services LLC",
- "npn": "20782309"
}, - "enrollment_coverages": [
- {
- "first_name": "Ana",
- "last_name": "Diaz",
- "relationship": "self",
- "date_of_birth": "1990-01-02",
- "gender": "female",
- "start_date": "2024-05-01",
- "end_date": "2024-12-31"
}
]
}
List enrollments
Authorizations:
query Parameters
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
member_id | string Example: member_id=mbr_01j7h53qa133q71z25n7a3w0n4 Member ID |
status | string Enum: "in_member_cart" "member_confirmed" "submission_processing" "carrier_processing" "completed" "canceled" "broker_created" Example: status=completed Enrollment status |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "enrlmt_01j7h53qgy8m2q1f7563hbvpqj",
- "member_id": "mbr_01j7h53qa133q71z25n7a3w0n4",
- "coverage_types": [
- "medical",
- "dental",
- "vision"
], - "status": "completed",
- "status_events": [
- {
- "status": "completed",
- "timestamp": "2024-11-01T00:00:00Z"
}
], - "plan_id": "mdpln_01j7h53nf2j0hc5a235b6xmxn4",
- "plan_code": "standard",
- "premium": {
- "amount": 1099,
- "currency_code": "USD"
}, - "broker": {
- "name": "Thatch Health Insurance Services LLC",
- "npn": "20782309"
}, - "enrollment_coverages": [
- {
- "first_name": "Ana",
- "last_name": "Diaz",
- "relationship": "self",
- "date_of_birth": "1990-01-02",
- "gender": "female",
- "start_date": "2024-05-01",
- "end_date": "2024-12-31"
}
]
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
Members represent employees enrolled in plans. Thatch creates member objects automatically, but you can retrieve them (for example, to aid in supporting an enrolled employee.
Response samples
- 200
{- "id": "mbr_01j85kpd8yxkabyrm83d3h2ya3",
- "employee_id": "employee_01j7h53r7gpd0q0wtx4pcfcska",
- "first_name": "Ana",
- "last_name": "Diaz",
- "address_line1": "123 Main St",
- "address_line2": "string",
- "city": "San Francisco",
- "state": "CA",
- "zip": "94108",
- "date_of_birth": "1989-07-15"
}
List members
Authorizations:
query Parameters
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "mbr_01j85kpd8yxkabyrm83d3h2ya3",
- "employee_id": "employee_01j7h53r7gpd0q0wtx4pcfcska",
- "first_name": "Ana",
- "last_name": "Diaz",
- "address_line1": "123 Main St",
- "address_line2": "string",
- "city": "San Francisco",
- "state": "CA",
- "zip": "94108",
- "date_of_birth": "1989-07-15"
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
Response samples
- 200
{- "id": "mdpln_01j2w394ngkjh3dfqdqzac4ev4",
- "carrier_name": "Anthem",
- "friendly_name": "Silver 70 HMO 2850/50",
- "plan_type": "hmo",
- "metal_tier": "silver",
- "deductible": {
- "amount": 1099,
- "currency_code": "USD"
}, - "premium": {
- "amount": 1099,
- "currency_code": "USD"
}, - "hios_id": "70285CA1234567"
}
List plans
Authorizations:
query Parameters
zip required | string Example: zip=94105 Five-digit ZIP code for the entire family |
ages[] required | Array of integers <int32> [ items <int32 > ] Example: ages[]=33&ages[]=42&ages[]=7 Ages of the prospect's employee and their dependents. The length of this parameter should match the length of relationships parameter. |
relationships[] required | Array of strings Items Enum: "self" "spouse" "child" Example: relationships[]=self&relationships[]=spouse&relationships[]=child Relationships of the prospect employee and their dependents. The length of this parameter should match the length of ages parameter. |
year | integer <int32> Default: "" Example: year=2025 Plan year, defaults to the current year |
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "mdpln_01j2w394ngkjh3dfqdqzac4ev4",
- "carrier_name": "Anthem",
- "friendly_name": "Silver 70 HMO 2850/50",
- "plan_type": "hmo",
- "metal_tier": "silver",
- "deductible": {
- "amount": 1099,
- "currency_code": "USD"
}, - "premium": {
- "amount": 1099,
- "currency_code": "USD"
}, - "hios_id": "70285CA1234567"
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
List plans, filtered by benchmark
Authorizations:
query Parameters
zip required | string Example: zip=94105 ZIP code for all family. This should be the 5 digit ZIP code, not the ZIP+4. |
age required | integer <int32> Example: age=33 Age of the employee |
benchmark required | string Enum: "score_tier_0" "score_tier_1" "score_tier_2" "score_tier_3" Example: benchmark=score_tier_0 Plan benchmark |
year | integer <int32> Default: "" Example: year=2025 Plan year, defaults to the current year |
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "mdpln_01j2w394ngkjh3dfqdqzac4ev4",
- "carrier_name": "Anthem",
- "friendly_name": "Silver 70 HMO 2850/50",
- "plan_type": "hmo",
- "metal_tier": "silver",
- "deductible": {
- "amount": 1099,
- "currency_code": "USD"
}, - "premium": {
- "amount": 1099,
- "currency_code": "USD"
}, - "hios_id": "70285CA1234567"
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
Bulk create employees for the prospect
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
Request Body schema: application/jsonrequired
required | Array of objects | ||||||||
Array
|
Responses
Request samples
- Payload
{- "employees": [
- {
- "name": "string",
- "date_of_birth": "2019-08-24",
- "zip": "string",
- "dependents": [
- {
- "relationship": "spouse",
- "date_of_birth": "2019-08-24"
}
]
}
]
}
Response samples
- 201
[- {
- "id": "prospect_ee_01j2w3kcb6dfyaqsw1c460f8jw",
- "name": "Stephani Hermann",
- "date_of_birth": "1989-07-15",
- "zip": "94103",
- "dependents": [
- {
- "relationship": "spouse",
- "date_of_birth": "2012-04-04"
}
], - "quoting_prospect_id": "prospect_01j2w3kcb6dfyaqsw1c460f8jw"
}
]
Create a prospect
Authorizations:
Request Body schema: application/jsonrequired
name required | string Prospect's name |
string or null Prospect's email address | |
archived | boolean Prospect's archived (if true) or active (if false) status |
Responses
Request samples
- Payload
{- "name": "Acme Corp",
- "email": "prospect@acme.org",
- "archived": true
}
Response samples
- 201
{- "id": "prospect_01j2w394ngkjh3dfqdqzac4ev4",
- "name": "Acme Corp",
- "email": "prospect@acme.org",
- "archived": false,
- "created_at": "2024-11-01T00:00:00Z",
- "updated_at": "2024-11-01T00:00:00Z"
}
Create a quote for a prospect
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
Request Body schema: application/jsonrequired
year required | integer <int32> Quote year |
benchmark | string Enum: "score_tier_0" "score_tier_1" "score_tier_2" "score_tier_3" Benchmark used to generate the cost for this quote |
employee_multiplier | number <double> Percentage of the employee-only premium that the employer covers, from 0.0 - 1.0 (for example, 0.8 means 80%) |
first_dependent_multiplier | number <double> Percentage of the employee-only contribution the employer wants to provide for the first dependent, from 0.0 - 1.0 (for example, 0.5 means 50%) |
additional_dependent_multiplier | number <double> Percentage of the employee-only contribution the employer wants to provide for additional dependents, from 0.0 - 1.0 (for example, 0.3 means 30%) |
Responses
Request samples
- Payload
{- "year": 2025,
- "benchmark": "score_tier_0",
- "employee_multiplier": 0.1,
- "first_dependent_multiplier": 0.1,
- "additional_dependent_multiplier": 0.1
}
Response samples
- 201
{- "id": "qte_01j2w592k42n6f86fcpqp9frfr",
- "benchmark": "score_tier_0",
- "year": 2025,
- "employee_multiplier": 0.8,
- "first_dependent_multiplier": 0.5,
- "additional_dependent_multiplier": 0.3,
- "created_at": "2024-11-01T00:00:00Z",
- "updated_at": "2024-11-01T00:00:00Z",
- "quoting_prospect_id": "prospect_01j2w592k42n6f86fcpqp9frfr"
}
Create an employee for the prospect
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
Request Body schema: application/jsonrequired
date_of_birth required | string <date> Date of birth of the prospect employee, in YYYY-MM-DD format |
zip required | string Prospect employee's ZPI code |
required | Array of objects |
name | string Prospect employee's name |
Responses
Request samples
- Payload
{- "name": "string",
- "date_of_birth": "2019-08-24",
- "zip": "string",
- "dependents": [
- {
- "relationship": "spouse",
- "date_of_birth": "2019-08-24"
}
]
}
Response samples
- 201
{- "id": "prospect_ee_01j2w3kcb6dfyaqsw1c460f8jw",
- "name": "Stephani Hermann",
- "date_of_birth": "1989-07-15",
- "zip": "94103",
- "dependents": [
- {
- "relationship": "spouse",
- "date_of_birth": "2012-04-04"
}
], - "quoting_prospect_id": "prospect_01j2w3kcb6dfyaqsw1c460f8jw"
}
Response samples
- 200
{- "id": "prospect_01j2w394ngkjh3dfqdqzac4ev4",
- "name": "Acme Corp",
- "email": "prospect@acme.org",
- "archived": false,
- "created_at": "2024-11-01T00:00:00Z",
- "updated_at": "2024-11-01T00:00:00Z"
}
Get a quote, with cost analysis results
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
id required | string Quote ID |
Responses
Response samples
- 200
{- "id": "qte_01j2w592k42n6f86fcpqp9frfr",
- "benchmark": "score_tier_0",
- "year": 2025,
- "employee_multiplier": 0.8,
- "first_dependent_multiplier": 0.5,
- "additional_dependent_multiplier": 0.3,
- "created_at": "2024-11-01T00:00:00Z",
- "updated_at": "2024-11-01T00:00:00Z",
- "quoting_prospect_id": "prospect_01j2w592k42n6f86fcpqp9frfr",
- "employer_contribution": {
- "amount": 1099,
- "currency_code": "USD"
}, - "employee_contribution": {
- "amount": 1099,
- "currency_code": "USD"
}, - "employee_results": [
- {
- "prospect_employee_id": "prospect_ee_01j2w3kcb6dfyaqsw1c460f8jw",
- "allowance": 100,
- "full_employee_amount": 50,
- "full_dependent_amount": 50
}
]
}
Get an employee
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
id required | string Employee ID |
Responses
Response samples
- 200
{- "id": "prospect_ee_01j2w3kcb6dfyaqsw1c460f8jw",
- "name": "Stephani Hermann",
- "date_of_birth": "1989-07-15",
- "zip": "94103",
- "dependents": [
- {
- "relationship": "spouse",
- "date_of_birth": "2012-04-04"
}
], - "quoting_prospect_id": "prospect_01j2w3kcb6dfyaqsw1c460f8jw"
}
List employees of the prospect
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
query Parameters
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "prospect_ee_01j2w3kcb6dfyaqsw1c460f8jw",
- "name": "Stephani Hermann",
- "date_of_birth": "1989-07-15",
- "zip": "94103",
- "dependents": [
- {
- "relationship": "spouse",
- "date_of_birth": "2012-04-04"
}
], - "quoting_prospect_id": "prospect_01j2w3kcb6dfyaqsw1c460f8jw"
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
List prospects
Authorizations:
query Parameters
archived | boolean If specified, filter by active (false) or archived (true) prospects |
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "prospect_01j2w394ngkjh3dfqdqzac4ev4",
- "name": "Acme Corp",
- "email": "prospect@acme.org",
- "archived": false,
- "created_at": "2024-11-01T00:00:00Z",
- "updated_at": "2024-11-01T00:00:00Z"
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
List quotes for the prospect
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
query Parameters
page[number] | integer <int32> >= 1 Default: 1 Page number |
page[size] | integer <int32> [ 1 .. 1000 ] Default: 20 Number of items per page. Must be between 1 and 1,000 (inclusive). Defaults to 20. |
Responses
Response samples
- 200
{- "data": [
- {
- "id": "qte_01j2w592k42n6f86fcpqp9frfr",
- "benchmark": "score_tier_0",
- "year": 2025,
- "employee_multiplier": 0.8,
- "first_dependent_multiplier": 0.5,
- "additional_dependent_multiplier": 0.3,
- "created_at": "2024-11-01T00:00:00Z",
- "updated_at": "2024-11-01T00:00:00Z",
- "quoting_prospect_id": "prospect_01j2w592k42n6f86fcpqp9frfr"
}
], - "pagination": {
- "total_records": 25,
- "current_page": 1,
- "total_pages": 3,
- "next_page": 2,
- "prev_page": 0
}
}
Update a prospect
Authorizations:
path Parameters
id required | string |
Request Body schema: application/jsonrequired
name | string Prospect's name |
string or null Prospect's email address | |
archived | boolean Prospect's archived (if true) or active (if false) status |
Responses
Request samples
- Payload
{- "name": "Acme Corp",
- "email": "prospect@acme.org",
- "archived": true
}
Response samples
- 200
{- "id": "prospect_01j2w394ngkjh3dfqdqzac4ev4",
- "name": "Acme Corp",
- "email": "prospect@acme.org",
- "archived": false,
- "created_at": "2024-11-01T00:00:00Z",
- "updated_at": "2024-11-01T00:00:00Z"
}
Update a quote
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
id required | string Quote ID |
Request Body schema: application/jsonrequired
year | integer <int32> Quote year |
benchmark | string Enum: "score_tier_0" "score_tier_1" "score_tier_2" "score_tier_3" Benchmark used to generate the cost for this quote |
employee_multiplier | number <double> Percentage of the employee-only premium that the employer covers, from 0.0 - 1.0 (for example, 0.8 means 80%) |
first_dependent_multiplier | number <double> Percentage of the employee-only contribution the employer wants to provide for the first dependent, from 0.0 - 1.0 (for example, 0.5 means 50%) |
additional_dependent_multiplier | number <double> Percentage of the employee-only contribution the employer wants to provide for additional dependents, from 0.0 - 1.0 (for example, 0.3 means 30%) |
Responses
Request samples
- Payload
{- "year": 2025,
- "benchmark": "score_tier_0",
- "employee_multiplier": 0.1,
- "first_dependent_multiplier": 0.1,
- "additional_dependent_multiplier": 0.1
}
Response samples
- 200
{- "id": "qte_01j2w592k42n6f86fcpqp9frfr",
- "benchmark": "score_tier_0",
- "year": 2025,
- "employee_multiplier": 0.8,
- "first_dependent_multiplier": 0.5,
- "additional_dependent_multiplier": 0.3,
- "created_at": "2024-11-01T00:00:00Z",
- "updated_at": "2024-11-01T00:00:00Z",
- "quoting_prospect_id": "prospect_01j2w592k42n6f86fcpqp9frfr"
}
Update an employee
Authorizations:
path Parameters
prospect_id required | string Prospect ID |
id required | string Employee ID |
Request Body schema: application/jsonrequired
name | string Prospect employee's name |
date_of_birth | string <date> Prospect employee's date of birth, in YYYY-MM-DD format |
zip | string Prospect employee's ZIP code |
Array of objects |
Responses
Request samples
- Payload
{- "name": "string",
- "date_of_birth": "2019-08-24",
- "zip": "string",
- "dependents": [
- {
- "relationship": "spouse",
- "date_of_birth": "2019-08-24"
}
]
}
Response samples
- 200
{- "id": "prospect_ee_01j2w3kcb6dfyaqsw1c460f8jw",
- "name": "Stephani Hermann",
- "date_of_birth": "1989-07-15",
- "zip": "94103",
- "dependents": [
- {
- "relationship": "spouse",
- "date_of_birth": "2012-04-04"
}
], - "quoting_prospect_id": "prospect_01j2w3kcb6dfyaqsw1c460f8jw"
}