API Reference
- Authentication
- Carriers
- Components (Embeddable UI)
- Connections
- Dependents
- Employer Documents
- Employers
- Enrollments
- Group Connections
- Members
- Pay Rates
- Payroll Benefits
- Groups
- Plans
- Plan Configurations
- Subclasses
- Tasks
- Reports
Enrollments
Submit Enrollment
Stages an enrollment, but does not send to carrier. You are not able to edit submitted enrollments unless you reopen it.
POST
/
enrollments
/
{public_id}
/
save_and_submit
curl --request POST \
--url https://sandbox.withclasp.com/enrollments/{public_id}/save_and_submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enrolled_plans": [
{
"plan": "<string>",
"premium": "<string>",
"employer_contribution": "<string>",
"member_contribution": "<string>",
"payroll_provider_external_id": "<string>",
"enrolled_dependents": [
{
"plan": "<string>",
"dependent": "<string>",
"primary_care_provider": {
"full_name": "<string>",
"is_existing_patient": true,
"provider_id_number": "<string>"
}
}
],
"primary_care_provider": {
"full_name": "<string>",
"is_existing_patient": true,
"provider_id_number": "<string>"
},
"effective_start": "2023-12-25",
"effective_end": "2023-12-25"
}
],
"member": "<string>",
"reason": "new_child",
"category": "qle",
"effective_start": "2023-12-25",
"effective_end": "2023-12-25",
"coverage_waivers": [
{
"line_of_coverage": "accident",
"reason": "covered_as_dependent",
"member": "<string>",
"dependent": "<string>"
}
]
}'
{
"id": "<string>",
"enrolled_plans": [
{
"id": "<string>",
"plan": "<string>",
"premium": "<string>",
"employer_contribution": "<string>",
"member_contribution": "<string>",
"payroll_provider_external_id": "<string>",
"enrolled_dependents": [
{
"id": "<string>",
"plan": "<string>",
"dependent": "<string>",
"primary_care_provider": {
"id": "<string>",
"full_name": "<string>",
"is_existing_patient": true,
"provider_id_number": "<string>"
}
}
],
"primary_care_provider": {
"id": "<string>",
"full_name": "<string>",
"is_existing_patient": true,
"provider_id_number": "<string>"
},
"effective_start": "2023-12-25",
"effective_end": "2023-12-25"
}
],
"member": "<string>",
"reason": "new_child",
"category": "qle",
"effective_start": "2023-12-25",
"effective_end": "2023-12-25",
"status": "<any>",
"created_at": "2023-11-07T05:31:56Z",
"coverage_waivers": [
{
"line_of_coverage": "accident",
"reason": "covered_as_dependent",
"member": "<string>",
"dependent": "<string>"
}
]
}
Authorizations
API Key authentication with required prefix "Bearer"
Path Parameters
Body
Response
200 - application/json
The response is of type object
.
curl --request POST \
--url https://sandbox.withclasp.com/enrollments/{public_id}/save_and_submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enrolled_plans": [
{
"plan": "<string>",
"premium": "<string>",
"employer_contribution": "<string>",
"member_contribution": "<string>",
"payroll_provider_external_id": "<string>",
"enrolled_dependents": [
{
"plan": "<string>",
"dependent": "<string>",
"primary_care_provider": {
"full_name": "<string>",
"is_existing_patient": true,
"provider_id_number": "<string>"
}
}
],
"primary_care_provider": {
"full_name": "<string>",
"is_existing_patient": true,
"provider_id_number": "<string>"
},
"effective_start": "2023-12-25",
"effective_end": "2023-12-25"
}
],
"member": "<string>",
"reason": "new_child",
"category": "qle",
"effective_start": "2023-12-25",
"effective_end": "2023-12-25",
"coverage_waivers": [
{
"line_of_coverage": "accident",
"reason": "covered_as_dependent",
"member": "<string>",
"dependent": "<string>"
}
]
}'
{
"id": "<string>",
"enrolled_plans": [
{
"id": "<string>",
"plan": "<string>",
"premium": "<string>",
"employer_contribution": "<string>",
"member_contribution": "<string>",
"payroll_provider_external_id": "<string>",
"enrolled_dependents": [
{
"id": "<string>",
"plan": "<string>",
"dependent": "<string>",
"primary_care_provider": {
"id": "<string>",
"full_name": "<string>",
"is_existing_patient": true,
"provider_id_number": "<string>"
}
}
],
"primary_care_provider": {
"id": "<string>",
"full_name": "<string>",
"is_existing_patient": true,
"provider_id_number": "<string>"
},
"effective_start": "2023-12-25",
"effective_end": "2023-12-25"
}
],
"member": "<string>",
"reason": "new_child",
"category": "qle",
"effective_start": "2023-12-25",
"effective_end": "2023-12-25",
"status": "<any>",
"created_at": "2023-11-07T05:31:56Z",
"coverage_waivers": [
{
"line_of_coverage": "accident",
"reason": "covered_as_dependent",
"member": "<string>",
"dependent": "<string>"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.