Register an OAuth connect client (Apaleo store) app
To call the Apaleo Identity API and obtain OAuth 2.0 access tokens, register a client application. Org-level and user apps on the Apaleo Store use the same Connect client registration form. Your selections determine which grant your app uses.
Apaleo assigns each client a unique Client ID (client_id) and Client Secret (client_secret). Store the client secret securely and keep it private.
Only users with administration management privileges can register applications.
For most store apps, register a fine-grained org app. It connects to the hotel account and continues working through staff changes and admin turnover. Use a user app when your integration needs to act on behalf of a specific Apaleo user. See Which OAuth 2.0 grant works best for me?.
Register a Connect client
-
Log into the Apaleo Dashboard with your Apaleo developer credentials.
-
Open Apps and select My store apps.
-
On the Connect clients page, click Add a new store app.
-
Complete the registration form.
Field Description Client code A short, unique key that forms part of your client ID. Use a recognizable key, such as your app’s name. Use 3 to 30 characters from letters, numbers, and underscores. Apaleo converts letters to uppercase. Client name The name hotels see, including on the consent screen. Use the name hotels know your app by. Personally identifiable information Choose Retrieve, Omit linked, or Omit all to control which personal guest data your app receives. This setting is permanent. See Personal data (PII). Logo URL The URL of the logo shown on the consent screen. Redirect URIs Add at least one HTTPS URI where Apaleo redirects the user after they complete the connection flow. The URI used in the flow must exactly match a registered URI.
Org apps — Apaleo sends theinstallationIdto the redirect URI after the user consents on/AppsConnect. Use it to complete the installation token exchange.
User apps — Apaleo sends the authorization code to the redirect URI after the user authorizes your app. Exchange it for tokens.Secrets Provide a description for the secret. Apaleo displays the secret value once. Copy it immediately and store it securely on your server. Add a new secret if the existing one is compromised. Client access Defines how your app gets access to Apaleo APIs. This setting is permanent.
Fine-grained client grants the specific permissions your app needs per API. It is recommended for store apps and required for org apps.
Scope client provides broad API scopes in the OAuth access token. For store apps, this option is available only to user apps.Client type Determines the connection model and grant flow. This field applies to fine-grained clients, and the selection is permanent.
Organization app — connects to a hotel’s account and uses the installation grant. Its access tokens are bound to the account.
User app — connects on behalf of a specific Apaleo user and uses the authorization code grant.Scopes Enter the OAuth scopes your app needs. This field applies to scope clients. Permissions Select the permissions your app needs per API. This field applies to fine-grained clients. The same permissions apply to all properties the hotel selects.
Org apps — the installing user must holdapp:account-level-connected-apps.manageand every permission the app requests.
User apps — the user’s role must include every permission the app requests.Property access For testing with your developer credentials, choose All properties to include current and future properties in your developer account, or choose Only selected properties and select at least one. This field applies to fine-grained clients. Hotels choose which of their own properties to share on the /AppsConnectconsent screen for org apps or the authorization screen for user apps.
-
Review your app details and save the app.
-
Copy the client ID and client secret. You’ll need them to start the connection flow for your app type.
- Org app — Installation grant flow
- User app — Authorization code grant flow
Personal data (PII)
Hotels trust your app with their guests’ personal data, so think about which data your app really needs before you register it. You choose one of three options for Personally identifiable information, and this can’t be changed after the app is created. If you need different data later, you have to register a new app. The form shows a preview of the guest data for each option, so check them before you decide.
- Retrieve: your app receives all personal information of the guest, such as name, email, phone number, address, identification and birth date.
- Omit linked: personal data that directly identifies a guest is left out or masked, for example first name, email, phone, birth date and identification number. Details such as title, country, city and language remain.
- Omit all: your app receives no personal guest data at all: no names, phone numbers, email addresses and so on.
Choose the most restrictive option that still lets your app do its job. A reporting or accounting app, for example, often doesn’t need names or contact details. Retrieve is preselected on the form, so choose on purpose and don’t just accept the default.
Changing your app later
You can edit your app’s redirect URIs, scopes, or permissions after registration.
- User apps — users must reauthorize your app after you change its scopes or permissions for the changes to take effect.
- Org apps — each connected account must approve newly requested permissions. A hotel user can open Apps → Connected apps → Account apps, select the app, and click Review new permissions to approve the update.
Client access and client type are permanent. Register a new app if you need a different client access type or client type.
Deleting your app
Apaleo Connect client can be deleted from your Apaleo Store Console https://console.apaleo.com/apps/YOUR_CLIENTID, also found under Apps - My store apps - Your App - Edit my profile.