# Get user personal info This endpoint gets user personal info by user ID. Endpoint: GET /v2/users/{userId}/personal-info Version: v2 Security: Bearer ## Path parameters: - `userId` (string, required) Identifier for user. Example: "4974a66b-7493-4f41-908c-58ba81093947" ## Query parameters: - `includeInactive` (boolean) Include inactive users. Example: true ## Response 200 fields (application/json): - `addresses` (array) - `addresses.addressLines` (array, required) Address lines Example: ["Golden Gate Bridge"] - `addresses.administrativeArea` (string) Code of administrative area. For example: DL for Delhi, India. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated. Example: "CA" - `addresses.administrativeAreaName` (string) Name of administrative area. This is full name corresponding to administrativeArea. Like Delhi for DL area code. For some places, code and name maybe same as well like Tokyo. Example: "California" - `addresses.description` (string) Address description Example: "San Francisco Home" - `addresses.isDefault` (boolean) Whether this address is default address in case multiple addresses are specified. Example: true - `addresses.languageCode` (string) BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. Examples: "zh-Hant", "ja", "ja-Latn", "en". Example: "en" - `addresses.locality` (string) Generally refers to the city/town portion of the address. Example: "San Francisco" - `addresses.locationCode` (string) IATA 3-letter location code. See https://www.iata.org/en/services/codes. Example: "LAX" - `addresses.organization` (string) The name of the organization at the address. Example: "Spotnana" - `addresses.postalCode` (string) Postal code of the address. This is a required field when setting for a user/legal entity/company etc. Example: "94130" - `addresses.continentCode` (string) 2 letter continent code of the continent this address falls in. Example: "AF" - `addresses.recipients` (array) The recipient at the address. - `addresses.regionCode` (string, required) Region code of the country/region of the address. Example: "US" - `addresses.regionName` (string) Region name of the country/region of the address. Example: "America" - `addresses.revision` (integer) Example: 1 - `addresses.sortingCode` (string) Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). Example: "Jamaica" - `addresses.sublocality` (string) Sublocality of the address. This can be neighborhoods, boroughs, districts. - `addresses.timezone` (string) Time zone of the address. Example: "America/Los_Angeles" - `addresses.coordinates` (object) Map coordinates of the address. - `addresses.coordinates.latitude` (number, required) Latitude of the Location Example: 77.1025 - `addresses.coordinates.longitude` (number, required) Longitude of the Location Example: 28.7041 - `dob` (object) Date in ISO 8601 standard. - `dob.iso8601` (string, required) Example: "2017-07-21" - `email` (string) Example: "example@email.com" - `gender` (string) Enum: "MALE", "FEMALE", "UNSPECIFIED", "UNDISCLOSED" - `identityDocs` (array) List of user identity documents. Example: [{"passport":{"docId":"PASSPORTID","expiryDate":{"iso8601":"2017-07-21"},"issueCountry":"IN","issuedDate":{"iso8601":"2017-07-21"},"nationalityCountry":"IN","type":"REGULAR"}},{"ktn":{"number":"123456","issueCountry":"US"}}] - `name` (object) Full name containing first, middle, last (family) names, and suffix. - `name.family1` (string, required) Last (family) name. Example: "Gandas" - `name.family2` (string) Example: "FamilyTwo" - `name.given` (string, required) First (given) name. Example: "Vichitr" - `name.middle` (string) Middle name. Example: "Kumar" - `name.suffix` (string) Suffix used with the name. For example SR or JR. Enum: "NAME_SUFFIX_UNKNOWN", "SR", "JR", "MD", "PHD", "II", "III", "IV", "DO", "ATTY", "V", "VI", "ESQ", "DC", "DDS", "VM", "JD", "SECOND", "THIRD" - `name.preferred` (string) Informal preferred name added by traveler. This is not used on any PNR or tickets Example: "Don" - `phoneNumbers` (array) - `phoneNumbers.countryCode` (integer) two digit country code Example: 91 - `phoneNumbers.countryCodeSource` (string) Enum: "UNSPECIFIED", "FROM_NUMBER_WITH_PLUS_SIGN", "FROM_NUMBER_WITH_IDD", "FROM_NUMBER_WITHOUT_PLUS_SIGN", "FROM_DEFAULT_COUNTRY" - `phoneNumbers.extension` (string) phone number extension Example: "222" - `phoneNumbers.isoCountryCode` (string) ISO alpha-2 code Example: "IN" - `phoneNumbers.italianLeadingZero` (boolean) Example: true - `phoneNumbers.nationalNumber` (integer) Example: 8150 - `phoneNumbers.numberOfLeadingZeros` (integer) Example: 1 - `phoneNumbers.preferredDomesticCarrierCode` (string) Example: "7" - `phoneNumbers.rawInput` (string) Example: "77777" - `phoneNumbers.type` (string) Enum: "UNKNOWN_TYPE", "MOBILE", "LANDLINE" - `profilePicture` (object) An image with meta data. Either the data or url property must be supplied to load the image. - `profilePicture.data` (string) Example: "6935813e12584abda0e43d71cd2ea260" - `profilePicture.dimensions` (object) Image dimensions ie width and height. - `profilePicture.dimensions.height` (integer) Example: 120 - `profilePicture.dimensions.width` (integer) Example: 240 - `profilePicture.url` (string) Example: "https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp" - `nationality` (string) Nationality of user Example: "Indian" - `title` (string) Enum: "TITLE_UNKNOWN", "MR", "MS", "MRS", "MX", "MASTER", "MISS", "DR", "PROFESSOR", "CAPTAIN", "REVEREND", "HONOURABLE", "SIR", "LADY", "AMBASSADOR", "LORD", "BRIGADIER", "SENATOR", "DAME", "JUSTICE", "UK" - `preferredLanguage` (string) Language preferred by user. Example: "en-US" - `preferredPronoun` (string) Pronoun preferred by user. Enum: "SHE_HER_HERS", "HE_HIM_HIS", "THEY_THEM_THEIRS" - `travelerName` (object) A name of user that does not contain special characters. - `emergencyContact` (object) Emergency contact information. - `emergencyContact.name` (string, required) Full name of contact. Example: "John Smith" - `emergencyContact.email` (string) Email address of contact. Example: "emergency-contact@email.com" - `emergencyContact.relation` (string) Relation of contact to user. Enum: "RELATION_UNKNOWN", "SPOUSE", "PARENT", "SIBLING", "CHILD", "FRIEND", "RELATIVE", "COLLEAGUE", "OTHER" - `emergencyContact.phoneNumbers` (array, required) Phone numbers of contact. - `emergencyContact.designation` (string) Job title of contact. Example: "MANAGER" - `emergencyContactInfo` (object) Emergency contact information. - `emergencyContactInfo.address` (object) Postal Address Details - `emergencyContactInfo.designation` (string) Example: "MANAGER" - `emergencyContactInfo.phoneNumber` (object) Properly formatted phone number. - `emergencyContactInfo.userOrgId` (object) User and user's organization information. - `emergencyContactInfo.userOrgId.organizationId` (object, required) Organization id for traveler. - `emergencyContactInfo.userOrgId.organizationId.id` (string, required) - `emergencyContactInfo.userOrgId.userId` (object, required) User identifier - `emergencyContactInfo.userOrgId.tmcBasicInfo` (object) TMC related basic information. - `emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc` (object, required) Contracting TMC is the TMC the user/organization contracted. - `emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.id` (object, required) Company ID - `emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.name` (string) - `emergencyContactInfo.userOrgId.tmcBasicInfo.contractingTmc.logo` (object) Company logo - `emergencyContactInfo.userOrgId.tmcBasicInfo.bookingTmc` (object, required) Booking TMC is the TMC used for the bookings for the user/organization. - `emergencyContactInfo.userOrgId.organizationAgencyId` (object) Agency id for the organization. - `emergencyContactInfo.userOrgId.tmcInfo` (object) TMC config information. - `emergencyContactInfo.userOrgId.tmcInfo.id` (object, required) TMC id. - `emergencyContactInfo.userOrgId.tmcInfo.primaryServiceProviderTmc` (object, required) Primary service provider TMC for the TMC. - `emergencyContactInfo.userOrgId.tmcInfo.primaryServiceProviderTmc.tmcId` (object, required) Id of the service provider TMC. - `emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs` (array) Secondary service provider TMCs for the TMC. - `emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs.supplier` (string, required) Supplier for which this service provider should be used. Enum: "SABRE", "AMADEUS", "TRAVEL_FUSION", "FARELOGIX_NDC", "ATPCO_NDC", "TRAINLINE", "AVIA", "QBR", "BCD", "QANTAS_HOTELS", "SOUTHWEST", "EXPEDIA", "HOTEL_HUB", "NDC", "MARRIOTT", "CLEARTRIP", "KYTE", "GROUNDSPAN", "SABRE_NDC", "BOOKING_COM", "CARTRAWLER", "PREMIER_INN", "TRAVELODGE" - `emergencyContactInfo.userOrgId.tmcInfo.secondaryServiceProviderTmcs.travelType` (string, required) Travel type for which this service provider should be used. Enum: "AIR", "HOTEL", "CAR", "RAIL", "LIMO", "MISC", "ALL" - `emergencyContactInfo.userOrgId.tmcInfo.partnerTmcId` (object) Useful to identify the clients onboarded by a PARTNER_TMC ## Response 401 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 403 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error. ## Response 404 fields (application/json): - `debugIdentifier` (string) Link to debug the error internally. - `errorMessages` (array) - `errorMessages.errorCode` (string) Error code to identify the specific errors. - `errorMessages.message` (string) Message containing details of error. - `errorMessages.errorParameters` (array) Error message parameters. - `errorMessages.errorParameters.name` (string) Parameter name - `errorMessages.errorParameters.value` (string) Parameter value - `errorMessages.errorDetail` (string) More details about the error.