Retrieves the full guest record of a guest, including any guest data extensions.
You can expand items in a collection by setting expand=true. This eliminates the need to send multiple follow-up requests (one for the collection and another for each of its items). This also helps you check if the data you intend to create already exists.
- Production server APhttps://api-engage-ap.sitecorecloud.io/v2.1/guests/{guestRef}
- Production server EUhttps://api-engage-eu.sitecorecloud.io/v2.1/guests/{guestRef}
- Production server JPhttps://api-engage-jpe.sitecorecloud.io/v2.1/guests/{guestRef}
- Production server UShttps://api-engage-us.sitecorecloud.io/v2.1/guests/{guestRef}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
-u '<username>:<password>' \
'https://api-engage-ap.sitecorecloud.io/v2.1/guests/f7aabbca-1c1b-4fc2-be72-3e16294a4f03?expand=true'Successful operation
The guest's city.
Example values: "Dublin", "London", "Madrid", "Paris"
The guest's country.
Example values: "IE", "GB", "ES", "FR"
The date and time when the resource was created in Sitecore CDP.
The guest's date of birth. Validation: Date must be in the past.
The guest's gender.
Example values: "male", "female", "unknown"
The level of identity obtained. The "traveller" value is only applicable to certain industries.
The URL of the guest.
The last time the guest interacted with your brand. If the guest is currently online and is interacting with your brand, this returns the date and timestamp of when the current session started.
The date and time when the resource was updated in Sitecore CDP.
The guest's nationality.
Example values: "Irish", "British", "Spanish", "French"
The expiry date of the guest's passport.
The phone numbers of the guest.
[ "+353161123345", "+353161123346" ]
The street address of the guest.
[ "Ashford House", "Tara Street", "Dublin 2" ]
{ "city": "Dublin", "country": "IE", "createdAt": "2024-01-01T16:17:16.000Z", "dateOfBirth": "1991-01-01T16:17:16.000Z", "email": "john.doe@gmail.com", "emails": [ "john.doe@gmail.com" ], "firstName": "John", "firstSeen": "2024-01-01T16:17:16.000Z", "gender": "male", "guestType": "visitor", "href": "https://api-engage-eu.sitecorecloud.io/v2.1/guests/f7aabbca-1c1b-4fc2-be72-3e16294a4f03", "identifiers": [ { … } ], "lastName": "Doe", "lastSeen": "2024-01-01T16:17:16.000Z", "modifiedAt": "2024-01-01T16:17:16.000Z", "nationality": "Irish", "passportExpiry": "2025-01-01T00:00:00.000Z", "passportNumber": "PZ4A9565", "phoneNumbers": [ "+353161123345", "+353161123346" ], "postCode": "D2", "ref": "f7aabbca-1c1b-4fc2-be72-3e16294a4f03", "state": "Oregon", "street": [ "Ashford House", "Tara Street", "Dublin 2" ], "title": "Mr" }