Authentication

Create Anonymous Session

Creates a shadow user account for guest access. The anonymous user can use all tools; data persists until account merge or cleanup.

post/api/v1/auth/anonymous

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v1/auth/anonymous
  • Auth: none required

Request body

device_idstring nullable

A unique device identifier for analytics correlation.

Example request

{
  "device_id": "abc123-device-uuid"
}

Response

Recorded shape (tests/Fixtures/api-shapes/auth-anonymous-create.json)

expires_atstring
expires_ininteger
is_anonymousboolean
tokenstring

Example response

{
  "expires_at": "string",
  "expires_in": 0,
  "is_anonymous": true,
  "token": "string",
  "user": {
    "bio": null,
    "can_create_trip": true,
    "created_at": "string",
    "email": "string",
    "first_name": "string",
    "has_pro_access": true,
    "id": 0,
    "is_anonymous": true,
    "last_name": "string",
    "marketing_consent": null,
    "marketing_consent_source": null,
    "max_saved_trips": 0,
    "phone": null,
    "preferred_language": null,
    "profile_photo_url": null,
    "subscription_plan": "string",
    "timezone": null
  }
}

Changes

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