See api-docs Menu

Get Event Types

This call returns a list of all OneLogin event types available to the Events API, providing event type names, event type IDs, and descriptions.

This endpoint is rate-limited. Ensure you cache the response and retain for up to 24 hours.

Resource URL


Header Parameter



Set to application/json

Sample Response

"status": {
"error": false,
"code": 200,
"type": "success",
"message": "Success"
"data": [
"name": "APP_ADDED_TO_ROLE",
"description": "App %app% added to role %role%",
"id": 1
"description": "App %app% removed from role %role%",
"id": 2
"description": "%actor_user% assumed %user%",
"id": 3
"description": "Assigned %role% to user %user%",
"id": 4
"description": "%user% logged into OneLogin",
"id": 5

Postman Collection

Be sure to set Postman-specific environment variables indicated by {{ }}.

Run in Postman

    Clicking Run in Postman button navigates to the page where you can fork the collection to your workspace. Forking the collection into your workspace will enable you to contribute to the source collection using pull requests. You can also view the collection in a public workspace if you like and even import a copy of the collection using the links present on the screen.

Sample Code


Replace sample values indicated by < > with your actual values.

curl 'https://<subdomain>/api/1/events/types' \
-X GET \
-H "Content-type: application/json"

Have a Question?

Found a problem or a bug? Submit a support ticket.

Looking for walkthroughs or how-to guides on OneLogin's user and admin features? Check out the documentation in our Knowledge Base.

Have a product idea or request? Share it with us in our Ideas Portal.