User Events

The User Event object

{
  "date": "2018-08-07T09:54:34.183Z",
  "auth_type": "password",
  "id": "AWUTz0naD6KwGSiAAIMN",
  "type": "signup",
  "user_id": "AWUTz0JBD6KwGSiAAIMH",
  "profile_id": "121146661725694",
  "login_time": "2018-08-07T09:54:34.183Z",
  "client_id": "sg48CdAYohRPeRWZ9j1H",
  "provider": "password",
  "device": "desktop",
  "origin": "origin",
  "ip": "127.0.0.1",
  "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Mobile/14G60"
}

User Event Fields

Name Description

date

The date on which the event occurred.

auth_type

The type of authentication used.

options
  • password

  • phone_number_password

  • magic_link

  • sms

  • external

  • refresh

  • login_as

  • third_party

  • webauthn

id

User event id.

type

User event type.

See User Event Types for more details.

user_id

The ReachFive User ID.

profile_id

The provider profile ID. For example, the facebook ID if facebook is the provider.

login_time

The time at which the event occurred.

client_id

Client id used.

provider

The provider. This is often a social login provider. If a standard login is used, password is the displayed value.

device

User device.

origin

Origin.

ip

User IP address.

user_agent

Web user agent.

User Event Types

The table below describes the types of events that occur under the type parameter in the User Event object.

Name Description

login

Emitted after a successful authentication.

signup

Emitted after a successful signup.

unlink

Emitted after a successful unlink identity.

email_updated

Emitted after a successful email update.

phone_number_updated

Emitted after a successful phone number update.

phone_number_verified

Emitted after a successful phone number verification.

password_reset_requested

Emitted after a successful password reset request.

password_updated

Emitted after a successful password update.

otp_sent

Emitted after a successful one time password send.

user_updated

Emitted after a successful user update.

user_deleted

Emitted after a successful user deletion.

user_suspended

Emitted after a successful user account suspension.

user_unsuspended

Emitted after a successful user account unsuspension.