Start in five minutes
# 1. Sign up
curl -X POST https://caremcp.com/api/public/organisations/sign-up \
-H "Content-Type: application/json" \
-d '{"name":"Your app","email":"dev@yourapp.com","password":"a long password","country":"SE"}'
# 2. Create an API key with the session token you got back
curl -X POST https://caremcp.com/api/org/keys \
-H "Authorization: Bearer <session token>" -H "Content-Type: application/json" \
-d '{"name":"production"}'
# 3. Add a user under your own id
curl -X POST https://caremcp.com/api/org/clients \
-H "Authorization: Bearer <API key>" -H "Content-Type: application/json" \
-d '{"externalRef":"user-8842","birthDate":"1984-03-12","location":{"country":"DE"},"language":"de","healthConsent":true}'
# 4. Order a plan in their name
curl -X POST https://caremcp.com/api/org/clients/<client id>/orders/plan \
-H "Authorization: Bearer <API key>" -H "Content-Type: application/json" \
-d '{"professions":["personal-trainer"],"brief":{ ... }}'
The full brief, and every other endpoint with a complete example, is in the API reference.
