Skip to main content
POST
/
plan_configurations
cURL
curl --request POST \
  --url https://sandbox.withclasp.com/plan_configurations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "plan": "<string>",
  "waiting_period": {
    "duration": 123,
    "allow_coinciding_start": true
  },
  "required_subclass": "<string>",
  "dependent_age_limit": 123,
  "base_plan_configuration": "<string>"
}
'
{
  "id": "<string>",
  "plan": "<string>",
  "waiting_period": {
    "id": "<string>",
    "duration": 123,
    "allow_coinciding_start": true
  },
  "required_subclass": "<string>",
  "dependent_age_limit": 123,
  "base_plan_configuration": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.withclasp.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authentication with required prefix "Bearer"

Body

plan
string
required

ID of plan

waiting_period
object
required
required_subclass
string | null

ID of subclass

dependent_age_limit
integer | null

Maximum age for dependent coverage eligibility

dependent_age_out_rule
enum<string>
  • end_of_month - End Of Month
  • end_of_year - End Of Year
  • date_of_birth - Date Of Birth
Available options:
end_of_month,
end_of_year,
date_of_birth
base_plan_configuration
string | null

ID of the base plan configuration this inherits from

Response

201 - application/json
id
string
required
read-only
Pattern: ^[-a-zA-Z0-9_]+$
plan
string
required

ID of plan

termination_policy
enum<string>
required
  • termination_date - Termination Date
  • end_of_month - End Of Month
  • fifteenth_of_month - Fifteenth Of Month
Available options:
termination_date,
end_of_month,
fifteenth_of_month
waiting_period
object
required
required_subclass
string | null

ID of subclass

dependent_age_limit
integer | null

Maximum age for dependent coverage eligibility

dependent_age_out_rule
enum<string>
  • end_of_month - End Of Month
  • end_of_year - End Of Year
  • date_of_birth - Date Of Birth
Available options:
end_of_month,
end_of_year,
date_of_birth
base_plan_configuration
string | null

ID of the base plan configuration this inherits from