POST
/
enrollments
/
{public_id}
/
approve
curl --request POST \
  --url https://sandbox.withclasp.com/enrollments/{public_id}/approve \
  --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": "medical",
      "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": "medical",
      "reason": "covered_as_dependent",
      "member": "<string>",
      "dependent": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication with required prefix "Bearer"

Path Parameters

public_id
string
required

Body

enrolled_plans
object[]
required
member
string
required
category
enum<string>
required
  • qle - Qle
  • open_enrollment - Open Enrollment
  • carrier_sync - Carrier Sync
Available options:
qle,
open_enrollment,
carrier_sync
effective_start
string
required
effective_end
string
required
coverage_waivers
object[]
required
reason
  • new_child - New Child
  • adopted_child - Adopted Child
  • marriage - Marriage
  • dependent_lost_coverage - Dependent Lost Coverage
  • dependent_relocated_in_network - Dependent Relocated In Network
  • dependent_court_order - Dependent Court Order
  • divorce - Divorce
  • carrier_sync - Carrier Sync
  • domestic_partnership - Domestic Partnership
  • relocated - Relocated
  • lost_coverage - Lost Coverage
  • death - Death
  • new_hire - New Hire
  • terminated - Terminated
  • rehire - Rehire
  • open_enrollment - Open Enrollment
Available options:
new_child,
adopted_child,
marriage,
dependent_lost_coverage,
dependent_relocated_in_network,
dependent_court_order,
divorce,
carrier_sync,
domestic_partnership,
relocated,
lost_coverage,
death,
new_hire,
terminated,
rehire,
open_enrollment

Response

200 - application/json
id
string
required
enrolled_plans
object[]
required
member
string
required
category
enum<string>
required
  • qle - Qle
  • open_enrollment - Open Enrollment
  • carrier_sync - Carrier Sync
Available options:
qle,
open_enrollment,
carrier_sync
effective_start
string
required
effective_end
string
required
status
any
required
created_at
string
required
coverage_waivers
object[]
required
reason
  • new_child - New Child
  • adopted_child - Adopted Child
  • marriage - Marriage
  • dependent_lost_coverage - Dependent Lost Coverage
  • dependent_relocated_in_network - Dependent Relocated In Network
  • dependent_court_order - Dependent Court Order
  • divorce - Divorce
  • carrier_sync - Carrier Sync
  • domestic_partnership - Domestic Partnership
  • relocated - Relocated
  • lost_coverage - Lost Coverage
  • death - Death
  • new_hire - New Hire
  • terminated - Terminated
  • rehire - Rehire
  • open_enrollment - Open Enrollment
Available options:
new_child,
adopted_child,
marriage,
dependent_lost_coverage,
dependent_relocated_in_network,
dependent_court_order,
divorce,
carrier_sync,
domestic_partnership,
relocated,
lost_coverage,
death,
new_hire,
terminated,
rehire,
open_enrollment