AZVYRADocumentation
EN AR
Technical reference·36

API

The REST API: resource groups, examples, conventions and docs.

1 min read Updated 3 Nov 2026 ForTechnical ownerAdmin · Head coach

REST over JSON at /api/v1/..., documented with OpenAPI (Swagger/Scribe).

GroupExamples
AuthenticationPOST /auth/register · /auth/login · /auth/otp · /auth/refresh · /auth/logout
QuestionnaireGET /questionnaire · POST /questionnaire/answers
SubscriptionGET /plans · POST /subscriptions · GET /subscriptions/current
PaymentsPOST /payments · POST /webhooks/payment
TrainingGET /me/program · POST /workouts/sessions · POST /workouts/sessions/{id}/sets
NutritionGET /me/meal-plan · POST /food-logs · GET /foods?q=
ProgressPOST /measurements · POST /photos · GET /me/progress · GET /me/reports
HabitsPOST /habits/logs · POST /water
ChatGET /conversations · POST /messages + a WebSocket channel
MeetingsGET /meetings · POST /meetings
NotificationsGET /notifications · POST /devices (FCM registration)
TrackingPOST /track/events · POST /track/video
AssistantPOST /assistant/messages

Conventions: consistent pagination, a consistent error envelope, Accept-Language for locale, and the app version in a header to support forced updates.