Welcome to the OneLogin API.
This API is based on RESTful principles, is secured by OAuth 2.0, and provides JSON messages, search, pagination, sorting, and filtering.
The OneLogin API operates in multiple regions which are determined based on the domain name that is used.
Use the domain for region that your OneLogin account resides in.
- US: api.us.onelogin.com
- EU: api.eu.onelogin.com
The version number for the api is indicated in the url. Versioning starts at 1 and increases as we make major changes to any of the APIs or their payloads. It is recommended to always use the latest version.
For example, Get Users API is currently on version 1 `GET /api/1/users` where as Get Apps API is on version 2 `GET /api/2/apps`.
OAuth 2.0 Tokens
Custom Login Pages