Account

Who am I, and what can I see

Drives the app's sign-in and invite-redeem gate. The one route (with POST /api/invites/redeem) a signed-in but unlinked identity may call.

get/api/me

Request

  • Base URL: https://trvlrr.app
  • URL: https://trvlrr.app/api/me
  • Auth: HTTP bearer

Response

The caller.

linkedboolean required

false until the signed-in identity is attached to a user (redeem an invite, or be provisioned).

account_idstring nullable required

The caller's own account; what the app identifies itself to RevenueCat with.

fullboolean required

true for a member of that account.

account_rolestring nullable required
trip_rolesobject required

Trips shared with the caller: trip id → editor|viewer.

plan'free' | 'plus' required
photo_aiinteger required

0 or 1.

facesinteger required

0 or 1.

person_idstring nullable required
person_namestring nullable required
avatar_updated_atstring nullable required
has_avatarinteger required

0 or 1.

Changes

No recorded changes to this operation across all 1 revision of this API.