cURL
curl --request GET \ --url https://api.example.com/api/v2/user/me
Получение и обновление данных текущего пользователя
Documentation IndexFetch the complete documentation index at: https://docs.elumenta.ru/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.elumenta.ru/llms.txt
Use this file to discover all available pages before exploring further.
curl https://elumenta.ru/api/v2/user/me \ -H "Authorization: Bearer nb_ВАШ_API_КЛЮЧ"
{ "id": 1042, "email": "user@example.com", "username": "ivan", "plan": "vip", "plan_expires_at": "2026-04-08T00:00:00Z", "token_balance": 283, "created_at": "2025-11-15T09:00:00Z" }
PATCH /api/v2/user/me {"username": "новое_имя"}
curl https://elumenta.ru/api/v2/balance \ -H "Authorization: Bearer nb_ВАШ_API_КЛЮЧ"
{ "token_balance": 283, "plan": "vip", "plan_expires_at": "2026-04-08T00:00:00Z" }