https://api.veriko.mx/v1/users/meGet the current user's complete information
Returns the authenticated user's complete information: profile + API key metadata + active subscription + 2FA state + role permissions + notifications summary. One roundtrip replaces the multiple calls the dashboard used to make to /auth/profile, /billing/subscription and /notifications/unread-count.
curl -X GET 'https://api.veriko.mx/v1/users/me' \
-H 'Authorization: Bearer veriko_••••'Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Field | Type | Description |
|---|---|---|
id | string (uuid) | Unique user identifier (UUID v7). e.g.b1e4a2c3-1234-4abc-8def-000000000001 |
email | string (email) | User email, used for login and notifications. e.g.[email protected] |
name | string | User's display name as shown in the dashboard. e.g.Carlos Lopez |
role | string | User's role in the organization. Determines available permissions. user |
status | string | Account status. Only active |
timezone | string | User's IANA timezone, used to format timestamps in the UI. e.g.America/Mexico_City |
language | string | User's preferred language for UI and notifications. es |
email_verified_at | string | nullnullable | ISO 8601 UTC timestamp when the user verified their email. 2026-04-30T10:15:00Z |
created_at | string (date-time) | ISO 8601 UTC timestamp when the account was created. e.g.2026-01-15T08:00:00Z |
api_key | object | nullnullable | API key metadata. Never returns the full key (use POST /v1/users/me/api-key/reveal with password to reveal). |
prefix | string | API key prefix for visual identification. Does not include the full key. e.g.example_a1b |
last_4 | string | nullnullable | Last 4 characters of the API key for masked rendering ( f9c2 |
subscription | object | nullnullable | User's active subscription. |
plan_slug | string | Identifier of the subscribed plan (free, pro, enterprise, etc.). e.g.pro |
status | string | Current subscription status per the billing cycle. active |
current_period_end | string | nullnullable | End of the current billing period (ISO 8601 UTC). e.g.2026-06-15T00:00:00Z |
cancel_at | string | nullnullable | Scheduled cancellation date if the user initiated cancel-at-period-end. null |
billing_interval | string | nullnullable | Billing frequency of the subscribed plan. month |
two_factor | object | Two-factor authentication state. |
enabled | boolean |
false |
method | string | nullnullable | OTP delivery channel. sms |
last_used_at | string | nullnullable | Last successful 2FA use. Future field, currently always null |
permissions | array | Flat list of the user's role permissions in |
notifications | object | Summary of the user's notification queue. |
unread_count | integer | Number of unread, non-archived notifications. e.g.3 |
push_enabled | boolean |
false |
telegram_linked | boolean |
false |
_warnings | array | List of subsystems that failed while building this bundle. Only present when partial failures occurred. The fields corresponding to each failed subsystem will be at their default value (null or empty). Allows the client to degrade gracefully instead of going dark. e.g.["subscription_unavailable"] |
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | Complete information for the authenticated user. | No body |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| Status | Code | Example |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|