Journey Docs
Members APIProfile

Get Profile

Retrieve the authenticated member profile

GET/members/me/profile

Overview

Returns the member's profile information including:

  • Personal details (date of birth, gender, nationality)
  • Social media links
  • Travel preferences (airlines, seat preferences, frequent flyer programs)
  • Bio and timezone settings
  • Language preference

The profile is automatically created when a member is provisioned via /members/me/auth/validate. If the member has not set any profile fields, an empty profile with just updatedAt is returned.

Prerequisites

The member must be provisioned first by calling POST /members/me/auth/validate.

If the member is not provisioned, you'll receive a 403 error:

{
  "statusCode": 403,
  "error": "MEMBER_NOT_PROVISIONED",
  "message": "Member not provisioned. Call POST /members/me/auth/validate first."
}

Authentication

Requires a valid Clerk JWT token in the Authorization header.

Request

curl -X GET "http://localhost:3000/v1/members/me/profile" \
  -H "Authorization: Bearer YOUR_CLERK_JWT"

Response

Returns the member's profile with comprehensive preference settings. Each field represents a different aspect of the member's travel and lifestyle preferences that can be used to personalize their Journey experience.

Personal Information

dateOfBirthstring

Date of birth in YYYY-MM-DD format

genderstring

Gender identity

nationalitystring

Nationality

timezonestring

IANA timezone (e.g., "America/Los_Angeles")

languagestring

Preferred language code (ISO 639-1)

biostring

Member biography (max 500 characters)

socialLinksobject

Social media profile links

properties
linkedinstring

LinkedIn profile URL

instagramstring

Instagram handle or URL

twitterstring

Twitter/X handle or URL

facebookstring

Facebook profile URL

Travel Preferences

travelPreferencesobject

Travel preference settings

properties
preferredAirlinesstring[]

List of preferred airline names

frequentFlyerProgramsobject[]

Frequent flyer membership details

properties
airlinestringrequired

Airline name

numberstringrequired

Membership number

seatPreferencestring

Seat preference: "window", "aisle", or "middle"

mealPreferencestring

Meal preference

travelClassstring

Preferred travel class: "economy", "premium_economy", "business", or "first"

travelCompanionsstring[]

Names of common travel companions

passportCountrystring

Passport country (ISO code)

Hotel Stay Preferences

stayPreferencesobject

Hotel stay preferences

properties
roomTypestring

Preferred room type

floorPreferencestring

Preferred floor level

bedTypestring

Preferred bed type

pillowTypestring

Preferred pillow type

roomLocationstring

Preferred room location

smokingRoomboolean

Whether smoking room is preferred

accessibilityNeedsstring[]

List of accessibility requirements

minibarStockedboolean

Whether minibar should be stocked

newspaperDeliverystring

Preferred newspaper for delivery

Dining Preferences

diningPreferencesobject

Dining and food preferences

properties
dietaryRestrictionsstring[]

List of dietary restrictions

allergiesstring[]

List of food allergies

cuisinePreferencesstring[]

Preferred cuisine types

mealTimingstring

Preferred meal timing

favoriteRestaurantstring

Favorite restaurant name

favoriteTablestring

Favorite table or seating preference

Experience Preferences

experiencePreferencesobject

Experience and activity preferences

properties
spaServicesstring[]

Preferred spa services

activityInterestsstring[]

Activity and interest preferences

specialOccasionsobject[]

Special occasions to remember

properties
typestringrequired

Type of occasion (e.g., "birthday", "anniversary")

datestringrequired

Date of the occasion

Communication Preferences

communicationPrefsobject

Communication preferences

properties
emailboolean

Email notifications enabled

smsboolean

SMS notifications enabled

pushboolean

Push notifications enabled

languagestring

Preferred communication language

Additional Information

additionalInfoobject

Flexible key-value storage for client-specific data (only returned when fields=additionalInfo query parameter is included)

updatedAtstringrequired

ISO 8601 timestamp of last profile update

Response

{
  "updatedAt": "2024-04-20T10:30:00Z"
}

On this page