---
title: "Account"
method: GET
path: "/api/v2/account"
tags: ["Account"]
---

# Account

`GET /api/v2/account`

## Request

- Base URL: `https://www.endlesstravelplans.com`
- URL: `https://www.endlesstravelplans.com/api/v2/account`
- Auth: HTTP bearer

Who the caller is, how they have Pro and how to manage it, trip allowance, privacy settings, marketing
consent and the advisors linked to them with what each has shared. `pro.manage.kind` is `stripe_portal`
(open `url` in a browser; the signed link lasts 10 minutes), `app_store`, `play_store` or `none`.
Reading an advisor's share may create its client page link the first time; later reads return the same link.
`trips.remaining_slots` is how many more trips the free plan allows and is `null` when trips are unlimited (Pro).
The example is a free account; a Pro account through Stripe has `pro.manage` like
`{"kind": "stripe_portal", "url": "https://www.endlesstravelplans.com/billing/portal/token/12?expires=1760000000&signature=abc"}`.

## Response `200`

Free account

- object
  - `user` object
    - `id` integer
    - `name` string
    - `email` string
    - `email_verified` boolean
    - `is_guest` boolean
    - `two_factor_enabled` boolean
    - `locale` string
  - `pro` object
    - `has_access` boolean
    - `source` string
    - `plan` string
    - `expires_at` string, nullable
    - `manage` object
      - `kind` string
      - `url` string, nullable, required: Where to manage Pro; null when kind is none.
  - `trips` object
    - `can_create` boolean
    - `remaining_slots` integer, nullable, required: Trips the free plan still allows; null when unlimited.
  - `marketing_consent` boolean
  - `privacy` object
    - `profile_visibility` boolean
    - `trip_sharing` boolean
    - `activity_tracking` boolean
    - `marketing_communications` boolean
    - `data_analytics` boolean
  - `advisor_links` object[]
    - `id` integer
    - `advisor_name` string
    - `agency` string
    - `since` string
    - `shares` object[]
      - `kind` string
      - `id` integer
      - `title` string
      - `published_at` string
      - `url` string

## Other responses

- `401`: unauthenticated: No valid bearer token was sent.
- `429`: rate_limited: A throttle or a per-account allowance refused the request; `retry_after` or `remaining` may be present.
- `500`: server_error: Unhandled failure; quote `request_id` to support.

---

[API](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api.md) · [All operations](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/revisions/ae82ed3e4a8f?raw)
