Skip to main content

1. Prerequisites

Never expose your long‑lived API key in the browser.
All API calls that use the Bearer key should originate server‑side.

2. Create an employer

The response includes an id such as er_123. Persist this for future calls.

3. Create an employee (members)

Save the returned member id (e.g., mem_456).

4. Create a group structure

5. Create a plan

6. Add plan premiums

Replace {{claspMedicalPlanId}} with the plan’s returned id. Add the premiums before opening the employee component or requesting eligible plans.

7. Define a plan configuration

8. Set up a contribution strategy for the plan

This example uses API version 2026-04-24. See Versioning for how to select an API version.
Response
Congrats! You’ve just set up your first plan. Open the magic link you just generated to enroll in the plan. Need help? Ping us at support@withclasp.com or your dedicated solutions engineer.