Which OAuth 2.0 grant works best for me?
A grant is the method your app uses to obtain an access token from the Apaleo Identity API. The right grant depends on the type of app you’re building.
Which grant should I use?
│
├── I want to list my app on the Apaleo Store
│ │
│ ├── My app runs in the background at the account level
│ │ └── Installation grant (recommended for store apps)
│ │
│ └── My app acts on behalf of a specific Apaleo user
│ └── Authorization code grant
│
└── I am building a custom integration for one hotel
└── Client credentials grant
| Org-level app | User app | Custom integration | |
|---|---|---|---|
| Grant | Installation grant | Authorization code grant | Client credentials grant |
| Client type | Org app | User app | — |
| Client access | Fine-grained (required) | Fine-grained (recommended) or scope | Fine-grained (recommended) or scope |
| Token bound to | Account | Specific user | Account |
| Store listing | Yes | Yes | No |
| Typical use | Channel managers, revenue management systems, accounting, and other back-office integrations | Tools that act on behalf of a specific user | Bespoke project for one hotel |
Apaleo recommends the installation grant for store apps that operate at the account level. Their account connection persists through staff, role, and admin changes.
Choose how your app is granted access
You choose your client access type when you register your app. This setting is permanent.
- Fine-grained client — your app receives the specific permissions it needs per API on the properties the hotel selects during setup. Fine-grained access is required for org-level apps and recommended for user apps and custom integrations.
- Scope client — your app receives broad API scopes bundled into its OAuth access token. Scope access is available for user apps and custom integrations.
For details, see Scopes and permissions.
Next steps
Register store apps (org-level and user apps) as Connect clients and custom integrations as simple clients.
After registration, follow the guide for your grant.
- Installation grant flow — org-level apps
- Authorization code grant flow — user apps
- Client credentials grant flow — custom integrations