Retrieve a list of users

This API retrieves a list of users that match specific rule criteria.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Model

Json propertyData typeDescription
guestsListReturned users that match the rule criteria, when successful.
errorApiErrorModelError information when the request fails or is blocked.

guests object (RuleUser)

Json propertyData typeDescription
idGuidUnique identifier of the user.
namestringFull name of the user.
first_namestringUser’s first name.
last_namestringUser’s last name.
user_codestringExternal or custom user code.
base_centerstringHome center name or identifier.
genderstringGender value recorded for the user.
typestringGuest type classification or label.
spentdoubleLifetime spend attributed to the user.
emailstringEmail address for the user.
mobile_phonestringMobile phone number.
home_phonestringHome phone number.
address1stringAddress line one.
address2stringAddress line two.
citystringCity of the user’s address.
zipcodestringPostal or ZIP code.
statestringState or province.
countrystringCountry name or code.
nationalitystringNationality of the user.
dobDateTime?Date of birth, when available.
anniversary_dateDateTime?Anniversary date, when applicable.
visitsintTotal number of recorded visits.
first_visitDateTime?Date of the first visit recorded.
last_visitDateTime?Date of the most recent visit.
referral_sourcestringHow the user was referred.
receive_marketing_emailboolConsent flag for marketing emails.
receive_marketing_smsboolConsent flag for marketing SMS.
receive_marketing_whatsappboolConsent flag for WhatsApp marketing.
relationship_managerstringAssigned relationship manager’s name.
relationship_manager_idstringIdentifier of the relationship manager.
target_segment_centerstringCenter used for segment evaluation context.
creation_dateDateTime?User profile creation timestamp.

error object (ApiErrorModel)

Json propertyData typeDescription
codestringApplication error code indicating the failure reason.
messagestringHuman-readable description of the error encountered.
Query Params
string

Center identifier for evaluating the rules. view_id string (UUID) No View identifier to scope fields and presentation. view_mode integer / enum (ViewMode) No UI mode or data view style for results. version string No Rules engine version for evaluation. display_transactional_data boolean No Include transactional data in results for UI display. pii_export_request_id string (UUID) Cond.* Required when requires_pii_approval_flow=true for export flow. requires_pii_approval_flow boolean No Indicates request is for export and needs approval routing.

string

View identifier to scope fields and presentation.

int32

Specifies the mode in which the view is displayed.

string

Rules engine version for evaluation.

boolean

Include transactional data in results for UI display.

string

Required when requires_pii_approval_flow=true for export flow.

boolean

Indicates request is for export and needs approval routing.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain