---
title: Public API User Manual
description: This manual explains how to connect to our Public API using Postman, from requesting the API Key to making your first call.
---

[Skip to content](https://soporte.myhotel.cl/en/base-conocimientos/public-api-user-manual#main-content)

- [English](https://soporte.myhotel.cl/en/base-conocimientos/public-api-user-manual)
- [Español](https://soporte.myhotel.cl/es/base-conocimientos/manual-de-uso-de-la-api-pública)
- [Português - Brasil](https://soporte.myhotel.cl/pt-br/base-conocimientos/manual-de-uso-da-api-pública)

English

Show submenu for translations

![](https://soporte.myhotel.cl/hs-fs/hubfs/Logo%20myhotel%20a%20color.png?width=399&height=100&name=Logo%20myhotel%20a%20color.png)

- Products
  
  Show submenu for Products

    - [Guest Satisfaction Surveys](https://www.myhotel.cl/en/guest-satisfaction-surveys-for-hotels/)
    - [Online Reputation Management](https://www.myhotel.cl/en/hotel-reputation-management/)
    - [Auto Case Management](https://www.myhotel.cl/en/auto-case-management-for-hotels/)
    - [Virtual Assistant](https://www.myhotel.cl/en/ai-virtual-assistant-for-hotels/)
- Company
  
  Show submenu for Company

    - [About Us](https://www.myhotel.cl/en/about-us/)
    - [Succes Stories](https://www.myhotel.cl/en/clients/)
    - [Referral Program](https://www.myhotel.cl/en/referral-program/)
    - [Partnerships](https://www.myhotel.cl/en/partnership-en/)
    - [Work with us](https://www.myhotel.cl/en/jobs/)
- Resources
  
  Show submenu for Resources

    - [eBooks](https://www.myhotel.cl/en/ebooks/)
- [Blog](https://www.myhotel.cl/en/blog-3/)

Open main navigation

Close main navigation

- Products
  
  Show submenu for Products

    - [Guest Satisfaction Surveys](https://www.myhotel.cl/en/guest-satisfaction-surveys-for-hotels/)
    - [Online Reputation Management](https://www.myhotel.cl/en/hotel-reputation-management/)
    - [Auto Case Management](https://www.myhotel.cl/en/auto-case-management-for-hotels/)
    - [Virtual Assistant](https://www.myhotel.cl/en/ai-virtual-assistant-for-hotels/)
- Company
  
  Show submenu for Company

    - [About Us](https://www.myhotel.cl/en/about-us/)
    - [Succes Stories](https://www.myhotel.cl/en/clients/)
    - [Referral Program](https://www.myhotel.cl/en/referral-program/)
    - [Partnerships](https://www.myhotel.cl/en/partnership-en/)
    - [Work with us](https://www.myhotel.cl/en/jobs/)
- Resources
  
  Show submenu for Resources

    - [eBooks](https://www.myhotel.cl/en/ebooks/)
- [Blog](https://www.myhotel.cl/en/blog-3/)
- - [English](https://soporte.myhotel.cl/en/base-conocimientos/public-api-user-manual)
    - [Español](https://soporte.myhotel.cl/es/base-conocimientos/manual-de-uso-de-la-api-pública)
    - [Português - Brasil](https://soporte.myhotel.cl/pt-br/base-conocimientos/manual-de-uso-da-api-pública)

  English
  
  Show submenu for translations
- [Go to my account](https://fidelity.myhotel.cl/login)

[Go to my account](https://fidelity.myhotel.cl/login)

 How can we help you today?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://soporte.myhotel.cl/en/base-conocimientos?hsLang=en)
2. [Manuals and Articles](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en)
3. [API](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#api)

# Public API User Manual

## This manual explains how to connect to our Public API using Postman, from requesting the API Key to making your first call.

This manual explains how to connect to our Public API using Postman, from requesting the API Key to making your first call.

It is intended for users with basic Postman knowledge. It does not cover integration with Power BI, Excel or other applications (see *Using the data in other applications*).

 

 

### **Prerequisites**

Before you start, make sure you have these five items. If any of them is missing, the connection will not work.

- **API Key**, requested from support (Step 1)
- **Access Key**, obtained from the platform (Step 2)
- **Platform username and password**, ideally a dedicated user for the API (see next section)
- **Module you want to query**: FollowUp, OnSite, PreStay or Online
- **Postman** installed

 

### **Recommended user for the API**

We recommend creating a dedicated user to query the API, with the **Consultor** role.

- **Why a dedicated user:** if the API uses a person's user and that person changes their password, the calls stop working. A dedicated user prevents unexpected password changes.
- **Why the Consultor role:** it is enough to query the API.

**Important: log in to the platform with this user regularly.** For security reasons, the platform automatically deactivates users who have not logged in during the last **90 days**. An inactive user cannot query the API.

We suggest setting a reminder to log in with this user at least once a month.

 

### **Step 1: Request the API Key**

Request the API Key from support through any of the usual channels: form, email or chat.

Include in your request:

- Your company name
- Name and email of the person responsible for the integration

Store the API Key in a safe place as soon as you receive it. You will use it in Step 4.

 

### **Step 2: Get the Access Key**

1. Log in to the platform.
2. Go to **Company settings**.
3. Click the **View Access Key** button.
4. Copy the key and store it with your API Key.

The API Key and the Access Key are two different keys. You need both.

 

**![](https://soporte.myhotel.cl/hs-fs/hubfs/image-png-Nov-25-2026-07-10-45-2492-PM.png?width=635&height=350&name=image-png-Nov-25-2026-07-10-45-2492-PM.png)**

 

### **Step 3: Import the calls into Postman**

You don't need to build the calls by hand: the API documentation loads them for you.

1. Open the API documentation: [Public API myHotel](https://documenter.getpostman.com/view/2432103/SWLfan47?version=latest).
2. Click the **Run in Postman** button.
3. Follow the prompts to open the collection in your Postman.
4. In Postman, in the left sidebar, click **Collections**. You will see the **Public API** collection with all the calls.

 

*![](https://soporte.myhotel.cl/hs-fs/hubfs/image-png-Nov-25-2026-06-38-54-0920-PM.png?width=632&height=79&name=image-png-Nov-25-2026-06-38-54-0920-PM.png)*

*![](https://soporte.myhotel.cl/hs-fs/hubfs/image-png-Nov-25-2026-06-41-58-2757-PM.png?width=340&height=512&name=image-png-Nov-25-2026-06-41-58-2757-PM.png)*

 

### **Step 4: Set up your credentials**

The imported calls use variables, shown in double curly braces, such as ``. After importing, they appear in **red** because they don't have a value yet. In this step you enter your details once.

 

#### **Create the variables**

1. In the left sidebar, click the **collection name** Public API.
2. Open the **Variables** tab.
3. Click **Add variable** and create these variables:
   
   | Variable | Value |
   | --- | --- |
   | username | Your platform username |
   | api-key | The API Key provided by support (Step 1) |
   | access\_key | Your Access Key (Step 2), decoded (see *Access Key format*) |
   | product\_name | Only for the calls that use it: `followup` or `onsite` |
   | offset | Only for the Online module: position from which results are returned. Initial value: 0 |
4. Save with **Ctrl + S** (Cmd + S on Mac).

 

*![](https://soporte.myhotel.cl/hs-fs/hubfs/image-png-Nov-25-2026-06-42-59-8741-PM.png?width=656&height=219&name=image-png-Nov-25-2026-06-42-59-8741-PM.png)*

**Important:** type the names exactly as shown in the table. `api-key` uses a hyphen (`-`) and `access_key` uses an underscore (`_`). A misspelled name makes the call fail.

#### **Access Key format**

The Access Key is delivered already encoded for use in a URL: the characters `+`, `/` and `=` appear as `%2B`, `%2F` and `%3D`.

Postman encodes again everything entered in the **Params** tab. If you paste the key exactly as you received it, `%2B` reaches the server as `%252B`, the key is not recognized and the call fails with **error 401 · code 5002**.

To avoid this, save the `access_key` variable **decoded**, replacing:

| In the original key | Replace with |
| --- | --- |
| %2B | + |
| %2F | / |
| %3D | = |

Alternative: paste the original key, unchanged, directly into the call URL, without using the **Params** tab.

#### **Enter the password**

The password is not stored as a variable. You must enter it in each call you use:

1. Open the call.
2. Go to the **Authorization** tab. The type must be **Basic Auth**.
3. Enter your platform password in the **Password** field.
4. Save with **Ctrl + S** (Cmd + S on Mac).

 

*![](https://soporte.myhotel.cl/hs-fs/hubfs/image-png-Nov-25-2026-06-49-18-2762-PM.png?width=658&height=202&name=image-png-Nov-25-2026-06-49-18-2762-PM.png)*

#### **Verify**

Check the **Params**, **Authorization** and **Headers** tabs of the call. No text in double curly braces should appear in red. If any is still red, check that the variable name is spelled exactly the same.

Do not change the **Authorization** tab of the whole collection: it must remain *No auth configured*.

 

### **Step 5: Make your first call**

1. Open the call you want to use.
2. Click **Send**.
3. Check the response at the bottom of the screen. A **200 OK** code means the call worked.

 

#### **Available modules**

Each module has its own calls in the collection. Their names start with the module in square brackets, for example **\[FollowUp\] Get Surveys**.

| Module | Example call | Additional parameters |
| --- | --- | --- |
| FollowUp | \[FollowUp\] Get Surveys | None |
| OnSite | \[OnSite\] Get Surveys | None |
| PreStay | \[PreStay\] get web check-in form | None |
| Online | \[Online\] get reviews | start\_date, end\_date, offset |

All of them use the same credentials: username and password in **Authorization**, `x-api-key` in **Headers** and `access_key` in **Params**.

#### **Online module calls**

The **\[Online\] get reviews** call returns the reviews for a period. In the **Params** tab, fill in:

- `start_date`: start date, in YYYY-MM-DD format. Example: 2025-04-01 for April 1, 2025. Use this format even if the documentation example shows a different one.
- `end_date`: end date, also in YYYY-MM-DD format.
- `offset`: starting point of the results. Starts at `0`.

#### How pagination works

Each call returns at most **500 reviews**. If the period has more, you need to make several calls, adding 500 to the `offset` each time:

 

| Call | offset | Reviews returned |
| --- | --- | --- |
| 1 | 0 | De la 1 a la 500 |
| 2 | 500 | De la 501 a la 1.000 |
| 3 | 1000 | De la 1.001 a la 1.500 |

Example: if the period has 1,200 reviews, you need 3 calls. The third one returns the remaining 200.

Rule of thumb: if a call returns exactly 500 reviews, there may be more. Add 500 to the `offset` and send it again. When a call returns fewer than 500, you have them all.

To learn what each call does and which parameters it accepts, see the [API documentation](https://documenter.getpostman.com/view/2432103/SWLfan47?version=latest).

 

 

### **Using the data in other applications**

To use the data in Power BI, Excel or another tool, we recommend this workflow:

1. Consume the API from Postman.
2. Process the data if needed.
3. Load the data into the software of your choice.

Our team does not provide support for connecting the API directly to Power BI or other applications.

If you consume the API from another tool, an HTTP library or your own system, make sure the Access Key is encoded **only once**. Some tools encode it automatically and others don't (see *Access Key format* in Step 4).

 

### **Support**

Our technical team provides basic support for questions or issues with API calls. Every request must include evidence from Postman.

| Covered | Not covered |
| --- | --- |
| Questions about API calls | Teaching how to use the API in Power BI or other applications |
| Errors when running calls in Postman | Configuring third-party software |

#### **How to request help**

Contact support via form, email or chat and include Postman screenshots showing:

- The call used and its URL
- The **Params**, **Authorization** and **Headers** tabs
- The status code and the full response
- Approximate date and time of the attempt

**Before sending, hide your password, API Key and Access Key in the screenshots.** Never share them through any channel.

 

### **Common errors**

Check this table before contacting support. Most errors are fixed by correcting a variable.

| Error or symptom | Likely cause | What to check |
| --- | --- | --- |
| 401 · code 5002 · *user does not have permissions on that customer* | Wrong password, user without access to the hotel, or Access Key encoded twice | 1. The password in the **Password** field. 2\. That the user is active and has access to that hotel. 3\. That `access_key` is saved decoded (Step 4, *Access Key format*) |
| 400 · *could not be converted to type 'LocalDate'* | Date in the wrong format in `start_date` or `end_date` (Online module) | That dates use the YYYY-MM-DD format (Step 5, *Online module calls*) |
| 400 | Incomplete or incorrectly copied Access Key | Copy the full key again from **View Access Key** |
| 406 | Query to a module the hotel has not contracted | Your hotel's contracted modules |
| Variable en rojo | The variable doesn't exist or its name is misspelled | **Variables** tab of the collection: `api-key` with a hyphen, `access_key` with an underscore |
| Cambios sin efecto | The variables were not saved | Save with Ctrl + S (Cmd + S on Mac) |

 

### **Security best practices**

- Do not share your API Key, Access Key or password with anyone outside your company.
- Hide your keys in any screenshot you send.
- Do not share your Postman collection with the variables filled in.
- If you think a key has been leaked, contact support immediately.
- Use a dedicated user for the API, with the Consultor role, and log in to the platform with it regularly.

 

### **FAQ**

**Are the API Key and the Access Key the same thing?** No. The API Key is provided by support. You get the Access Key yourself in Company settings → **View Access Key**. You need both.

**Can any platform user use the API?** Yes, as long as the user is active. We recommend a dedicated user with the Consultor role that logs in to the platform at least once every 90 days so it is not deactivated.

**Which modules can I query?** FollowUp, OnSite, PreStay and Online. Each one has its own calls in the collection (see *Available modules* in Step 5).

**Can you help me connect the API to Power BI?** No. We recommend consuming the API in Postman, processing the data and then loading it into the tool of your choice.

 

 

- [Manuals and Articles](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#main-content)

    - [Users and alerts](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#users-and-alerts)
    - [Online](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#online)
    - [Surveys](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#surveys)
    - [Desk](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#desk)
    - [Sentiment (Semantic)](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#sentiment-semantic)
    - [🤖 Concierge](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#concierge)
    - [API](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#api)
    - [🎓 Trainings and sessions](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#trainings-and-sessions)
    - [Platform operation](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#platform-operation)
    - [Policies and protocols](https://soporte.myhotel.cl/en/base-conocimientos/manuals-and-articles?hsLang=en#policies-and-protocols)
- [Fidelity Glossary](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#main-content)

    - [A](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#a)
    - [C](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#c)
    - [D](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#d)
    - [E](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#e)
    - [F](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#f)
    - [G](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#g)
    - [I](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#i)
    - [M](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#m)
    - [N](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#n)
    - [O](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#o)
    - [P](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#p)
    - [R](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#r)
    - [S](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#s)
    - [T](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#t)
    - [U](https://soporte.myhotel.cl/en/base-conocimientos/fidelity-glossary?hsLang=en#u)
- [Templates](https://soporte.myhotel.cl/en/base-conocimientos/templates?hsLang=en)
- [Guides](https://soporte.myhotel.cl/en/base-conocimientos/guides?hsLang=en#main-content)

    - [Digital Marketing for hotels](https://soporte.myhotel.cl/en/base-conocimientos/guides?hsLang=en#digital-marketing-for-hotels)
    - [Reputation and Guest Experience](https://soporte.myhotel.cl/en/base-conocimientos/guides?hsLang=en#reputation-and-guest-experience)
    - [Hotel Management and Operations](https://soporte.myhotel.cl/en/base-conocimientos/guides?hsLang=en#hotel-management-and-operations)
- [Finance](https://soporte.myhotel.cl/en/base-conocimientos/finance?hsLang=en#main-content)

    - [🤔 Frequently Asked Questions (FAQ)](https://soporte.myhotel.cl/en/base-conocimientos/finance?hsLang=en#frequently-asked-questions-faq)
    - [📚 Manuals](https://soporte.myhotel.cl/en/base-conocimientos/finance?hsLang=en#manuals)

[![Chill listening crop-3](https://soporte.myhotel.cl/hs-fs/hubfs/logotipo-myhotel@2x.png?width=100&height=45&name=logotipo-myhotel@2x.png "Chill listening crop-3")](http://myhotel.cl)

Help Center

Copyright © 2026, myHotel