# Authorization

**To use our API, you will need:**

* **A partner token.**\
  This token identifies the partner who requests or push the data, and in the case where the partner has access to several establishments, this token will be the same on all these establishments.
* **A hotel token.**\
  This token allows you to exchange with the API for only one establishment or one group of establishments (depending on the API).

### Format&#x20;

Use these tokens in a Bearer Token following this pattern : `partnerToken:hotelToken`

Example

{% code overflow="wrap" %}

```php
Authorization: Bearer 123456789:987654321
```

{% endcode %}

### To get your tokens

These two tokens will be provided to you by the support.

Email the support team at <support@experience-hotel.com> and specify:&#x20;

* which API you want to use&#x20;
* for which properties


---

# 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/authorization.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.
