API reference

Vitala Health API

REST · JSON · Bearer-token authenticated. Base URL https://api.vitala.health

POST/v1/auth/session

Create a new session from credentials or OAuth assertion.

curl -X POST https://api.vitala.health/v1/auth/session \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json"
DELETE/v1/auth/session

Sign out and revoke the active token.

curl -X DELETE https://api.vitala.health/v1/auth/session \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json"
GET/v1/auth/me

Return the authenticated user with role claims.

curl -X GET https://api.vitala.health/v1/auth/me \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json"