# Get Guest Information

The **`guest-informations`** endpoint provides partners with a set of details about a specific customer, leveraging the authentication token that was previously obtained. This endpoint allows partners to access essential customer information necessary for effective engagement and service delivery within the loyalty program.

### Request

<mark style="color:green;">**GET**</mark>

```url
https://interface.experience-hotel.com/api/xp-guest-account/guest-informations
```

To use this endpoint, partners must include the customer's authentication token in the request header:

* **Header**:
  * `x-guest-token`: The token assigned to the authenticated customer.

There are no URL parameters or payloads required in the body of the request.

### Response

Upon successful processing of the request, the API will respond with all available information about the customer.

Status <mark style="color:green;">**`200 OK`**</mark>&#x20;

```json
{
    "title": "Mr",
    "firstname": "John" ,
    "lastname": "Doe",
    "phone": null,
    "mobile": null,
    "email": "test@test.com",
    "street": null,
    "zip_code": null,
    "city": "Paris",
    "state": null,
    "country": "FR",
    "birthdate": null,
    "language": "fr",
    "nationality": null,
    "custom_fields": [
        {
            "name": "Status",
            "value": "VIP"
        },
        {
            "name": "Corpo",
            "value": "Oui"
        }
    ],
    "privilege_badges": []
}
```

**Custom fields** are set in the CRM, you can find different key/value depending on the hotel you are looking.&#x20;

**Privilege badges** are loyalty badges set in the CRM for that guest. A guest can have no badge, like in the example given, or have a badge. It is essentially a loyalty status. The badge will be a string, for example "Silver", "Gold", etc.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://experience-crm.gitbook.io/experience-crm-api/guests/guests-personal-space/get-guest-information.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
