GEThttps://api.veriko.mx/v1/users/me

Get the current user's complete information

Visibility
public
Auth
API key
Permission
account.profile.read

Returns in a single call everything the application needs to know about the authenticated user:

  • Their profile: identifier, email, name, status, timezone and language.
  • Their API key data: the prefix and the last 4 characters, never the key.
  • Their subscription, with the plan, the status and the end of the current period.
  • Two-factor authentication (2FA) state.
  • Its authorization: the effective permissions as a flat list of keys such as validations.records.read, whether it can enter the administration panel and the roles it holds, each with its scope.
  • The notifications summary: unread, push delivery and Telegram link.

The profile fields that only make sense in an interactive session — the phone, the last sign-in — are left out and served by GET /v1/users/me/profile-detail.

Request
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.

Response 200UserMeBundle
— Complete information for the authenticated user.
FieldTypeDescription
idstring (uuid)

Unique user identifier (UUID v4).

e.g. b1e4a2c3-1234-4abc-8def-000000000001
emailstring (email)

Email address tied to the user account: the one it signs in with and where its notifications arrive.

e.g. [email protected]
namestring

Name the user is presented with in the interface. Up to 100 characters.

e.g. Carlos Lopez
statusstring

Account status. Only active allows API operations. suspended: Account suspended; revoked: Deleted by the user.

e.g. active
timezonestring

IANA timezone the dates are presented to the user in.

e.g. America/Mexico_City
languagestring | nullnullable

Language the user account prefers for the interface and the notifications — es: Spanish; en: English; null: The user account has not chosen a preferred language yet.

e.g. es
email_verified_atstring | nullnullable

Date and time when the email was verified, in ISO 8601 UTC. null when it is still pending.

e.g. 2026-04-30T10:15:00Z
created_atstring (date-time)

Date and time when the account was created, in ISO 8601 UTC.

e.g. 2026-01-15T08:00:00Z
api_keyobject | nullnullable

The user account's live API key data, or null when it has none. It never carries the full key: for that there is POST /v1/users/me/api-key/reveal, which requires the password.

prefixstring

First 8 characters of the API key, which identify it without revealing it.

e.g. example_
last_4string | nullnullable

Last 4 characters of the API key, used to render it masked (veriko_a1b2••••••f9c2). null for the oldest keys, which did not store it.

e.g. f9c2
subscriptionobject | nullnullable

The user account's active subscription. When there is none, it carries the values of the system default plan, and it is null only when it could not be read — the case _warnings reports.

plan_slugstring

Unique, human-readable plan identifier.

e.g. pro
plan_namestring | nullnullable

Display name of the active plan, as the plan catalog shows it. It is null when the catalog could not be read.

e.g. Pro
statusstring

Current subscription status per the billing cycle. active: Up to date; trialing: In trial; past_due: A charge is outstanding; canceled: Cancelled; paused: Paused.

e.g. active
current_period_endstring | nullnullable

Date and time when the current billing period ends, in ISO 8601 UTC.

e.g. 2026-06-15T00:00:00Z
cancel_atstring | nullnullable

Date and time of the scheduled cancellation, in ISO 8601 UTC. null when none is pending.

e.g. null
billing_intervalstring | nullnullable

Billing cadence — once: One cycle with no automatic renewal; month: Monthly; year: Yearly.

e.g. month
two_factorobject

Two-factor authentication (2FA) state.

enabledboolean

true when the account has two-factor authentication (2FA) active, that is, when some method is enabled (primary is not null). A passkey alone does not turn 2FA on. Derived from the methods, not stored.

e.g. true
methoddeprecatedstring | nullnullable

Deprecated: use the primary field. It carries the same value as primary: the first enabled method in ladder order, or null when none is enabled. It used to allow only sms and email; it now also allows app.

e.g. app
last_used_atstring | nullnullable

Date and time of the last passed 2FA challenge with any method, in ISO 8601 UTC; null when never used.

e.g. null
methodsarray

The four methods in ladder order (passkey, app, email, sms) with their state and availability (available). The /security front reads these.

primarystring | nullnullable

First enabled method in ladder order (the one the login challenges); null when none is enabled. Derived, not stored.

e.g. app
recovery_codes_remaininginteger

Unused recovery codes left (0 when no set is live).

e.g. 5
permissionsarray

Flat, sorted list of the user account's effective permissions, in keys such as validations.records.read: the ones its roles grant on the platform and in its personal organization.

platform_accessboolean

true when the user account can enter the administration panel.

e.g. false
rolesarray

The roles the user account currently holds, each with its scope.

notificationsobject

Summary of the user's notification queue.

unread_countinteger

Number of notifications that are neither read nor archived.

e.g. 3
push_enabledboolean

true when the account has at least one active push subscription.

e.g. false
telegram_linkedboolean

true when the account has a linked Telegram chat.

e.g. false
legal_acceptedboolean

true when no document is left pending: neither the Terms of Service nor the Privacy Notice. false when the acceptance of either is missing, or when the team required acceptance of a version that the account has not accepted yet. Gates the post-login consent modal, which lists what is pending in GET /users/me/legal/pending.

e.g. true
_warningsarray

Pieces that could not be computed while assembling the response. It only appears when one failed, and the fields that depended on it arrive at their empty value (null or an empty list).

e.g. ["subscription_unavailable"]
Response status codesGET /v1/users/me
StatusClassDescriptionBody
2002xx
Complete information for the authenticated user.
UserMeBundle
4014xx
Authentication is required or the provided credentials are invalid.
ErrorResponse
4294xx
Rate limit exceeded (rate_limit_exceeded: wait a few seconds).
RetryAfterError
Errors from GET /v1/users/me
StatusCodeExample
401unauthorized

This request requires authentication.

Envelope
meta.request_id
c4d5e6f7a8b99b8a7f6e5d4c
429rate_limit_exceeded

You exceeded the request limit.

Envelope
meta.request_id
f7a8b9c0d1e22e1d0c9b8a7f
Response headers
  • Retry-After: integer — Seconds to wait before retrying. Matches the endpoint's rate-limit window (typically 60s for list endpoints, 1-5s for in-flight idempotent operations).
  • X-RateLimit-Limit: integer — Configured request cap for this bucket. It is emitted on every 429 and, on the authenticated API, also on successful responses, where it is the per-key cap of the account plan.
  • X-RateLimit-Remaining: integer — Requests remaining in the current window. Always 0 at the moment of the 429; on a successful response of the authenticated API it is what is left of the per-key cap.
  • X-RateLimit-Reset: integer — Absolute Unix epoch (seconds) when the window resets. Emitted on every 429, alongside Retry-After, and on successful responses of the authenticated API.