See api-docs Menu

v1-v3 APIs have been deprecated

Don't worry, these APIs are deprecated, but they won't be shut off until 2017, at the earliest. Questions? Contact devsupport@onelogin.com.

All new development with APIs should use the newest version of our API: /1. API /1 is based on RESTful principles, is secured by OAuth 2.0, and provides JSON messages, search, pagination, sorting, and filtering.

Event Resource and Types

Event Resource provides details about common event elements that you’ll encounter while working with the Event API.

Event Type IDs provides event type IDs and their descriptions.

Event Resource

All dates and times use this format: YYYY-MM-DDThh:mm:ss-time zone designator (where -time zone designator should be set to -Z, +hh:mm, or -hh:mm). For example: 2015-01-21T09:20:15-08:00.

Element Description

account-id

Account that triggered the event.

actor-system

Acting system that triggered the event when the actor is not a user.

actor-user-id

ID of the user whose action triggered the event.

actor-user-name

First and last name of the user whose action triggered the event.

app-id

ID of the app involved in the event, if applicable.

app-name

Name of the app involved in the event, if applicable.

assuming-acting-user

Name of the user who assumed the role of the acting user to trigger the event, if applicable.

created-at

Time and date at which the event was created. This value is autogenerated by OneLogin.

custom-message

More details about about the event.

directory-sync-run-id

Directory sync run ID.

event-type-id

Type of event triggered.

For details, see Event Type IDs below.

group-id

ID of a group involved in the event.

group-name

Name of a group involved in the event.

id

Event’s unique ID in OneLogin. Autogenerated by OneLogin.

ipaddr

IP address of the machine used to trigger the event.

notes

More details about the event.

otp-device-id

ID of a device involved in the event.

otp-device-name

Name of a device involved in the event.

policy-id

ID of the policy involved in the event.

policy-name

Name of the policy involved in the event.

role-id

ID of a role involved in the event.

role-name

Name of a role involved in the event.

user-id

ID of the user that was acted upon to trigger the event.

user-name

Name of the user that was acted upon to trigger the event.

Event Type IDs

ID Description

1

App added to role

2

App removed from role

3

Acting user assumed user

4

Role assigned to user

5

User logged in to OneLogin

6

User login to OneLogin failed

7

User logged out of OneLogin

8

User logged in to app

9

User failed app login

10

User requested new password

11

User changed password

12

User unlocked

13

User created

14

User updated

15

User deactivated

16

User activated

17

User deleted

18

Admin approved password request

19

User locked

20

User limit reached

21

User suspended

22

User registered OTP device

23

User triggered bulk operation

24

User deregistered OTP device

25

Provisioning exception

26

Provisioning event

27

User downloaded browser certificate

28

User recently removed

29

User logged out of app

30

Updated payment info

31

Failed update to payment info

32

User reactivated

33

User imported from directory

34

User requested access to app

35

User locked out of app

36

User lost OTP device

37

User requested join

38

App reached user limit

39

Connector broken

40

User unlocked OTP device

41

Active Directory Connector started

42

Active Directory Connector stopped

43

Active Directory Connector configuration reloaded

44

Active Directory Connector notification

45

Active Directory Connector exception

46

Active Directory Connector failed over

47

Active Directory Connector exception

48

User imported

49

Update to user failed

50

User rejected

51

User created in app

52

User updated in app

53

User suspended in app

54

User reactivated in app

55

User deleted in app

56

Unmatched users

59

User linked in app

61

User suspension failed in app

62

User reactivation failed in app

63

User deletion failed in app

64

User creation failed in app

65

User update failed in app

66

No users to import

67

Directory import exception

68

User authenticated by RADIUS

69

User rejected by RADIUS

70

Privilege granted to account

71

Privilege revoked from account

72

Privilege granted to user

73

Privilege revoked from user

74

User added a trusted IdP

75

User removed a trusted IdP

76

User modified a Trusted IdP

77

User failed to login to app via assertion proxy

78

User logged into app via assertion proxy

79

User failed to provision in directory

80

User created in directory

81

User updated in directory

82

User suspended in directory

83

User reactivated in directory

84

User deleted in directory

85

Could not authenticate to app

86

User failed remote authentication

87

User viewed secure note

88

User edited secure note

89

User deleted secure note

100

Self-registration requested for user

101

Self-registration approved for user

102

Self-registration denied for user

105

SMS failure

110

Acting user updated user login information

111

Acting user attempted to update user login information

112

User changed default trusted IdP

113

Directory import started

114

Directory import finished

115

User invited

116

User creation failed

117

Directory sync run ID

118

SAML assertion consumer service failed

120

User unlocked in directory

121

Scriptlet error

122

User authenticated via API

123

User authentication via API failed

124

Safe entitlements cache activity occurred. For example, safe entitlements was enabled or disabled.

125

Creation of new entitlements in a service succeeded or failed. For example, creation of user folders in Box succeeded or failed.