> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Event Object

> Learn about the pre-user-registration Action trigger's event object, which provides contextual information about the trigger execution.

The `event` object for the pre-user-registration Actions trigger provides contextual information about the trigger execution.

```json Event Object theme={null}
{
  "connection": {
    "id": "string",
    "name": "string",
    "strategy": "string"
  },
  "request": {
    "body": {},
    "geoip": {},
    "ip": "string",
    "method": "string"
  },
  "tenant": {
    "id": "string"
  },
  "user": {},
  "secrets": {}
}
```

## `event.anonymous_session`

**event.anonymous\_session** `object`

\[Private Early Access] Details of the anonymous session that preceded this registration, if any. Present only when the registration was preceded by an anonymous session; undefined otherwise.

**event.anonymous\_session properties**

**created\_at** `string`

\[Private Early Access] The date and time when the anonymous session was created, in ISO 8601 format.

**expires\_at** `string`

\[Private Early Access] The date and time when the anonymous session expires, in ISO 8601 format.

**metadata** `dictionary`

\[Private Early Access] Key-value pairs carrying additional information about the anonymous session. Always defined; an empty object when no metadata was provided.

**session\_id** `string`

\[Private Early Access] The identifier of the anonymous session.

**user\_id** `string`

\[Private Early Access] The identifier of the anonymous user associated with the anonymous session.

## `event.authentication`

**event.authentication** `object`

Details about authentication obtained during the pre user registration flow.

**event.authentication properties**

**riskAssessment** `object`

Details about risk assessments information for different flows.

**riskAssessment properties**

**supplemental** `object`

Supplemental signals sent from third party providers to assist in risk assessments.

**supplemental properties**

**akamai** `object`

\[Early Access] Supplemental risk assessment. This is available only if Akamai Account Protector is enabled and Akamai forwards the headers for the transaction.

**akamai properties**

**akamaiBot** `object`

The bot detection results as forwarded by Akamai Bot Manager.

**akamaiBot properties**

**type** `string`

The type of the Akamai bot manager results.

**action** `string`

The action of the Akamai bot manager results.

**botCategory** `array of string`

The bot category of the Akamai bot manager results.

**botScore** `number`

The bot score of the Akamai bot manager results.

**botScoreResponseSegment** `string`

The bot score response segment of the Akamai bot manager results.

**botnetId** `string`

The botnet ID of the Akamai bot manager results.

**akamaiUserRisk** `object`

The user risk detection results as forwarded by Akamai Account Protector.

**akamaiUserRisk properties**

**action** `string`

The action of the Akamai user risk assessment.

**allow** `number`

The allowed status of the Akamai user risk assessment.

**emailDomain** `string`

The email domain of the user.

**general** `dictionary`

The general risk of the Akamai user risk assessment.

**ouid** `string`

The OUID of the user.

**requestid** `string`

The request ID of the user.

**risk** `dictionary`

The risk of the Akamai user risk assessment.

**score** `number`

The score of the Akamai user risk assessment.

**status** `number`

The status of the Akamai user risk assessment.

**trust** `dictionary`

The trust of the Akamai user risk assessment.

**username** `string`

The username of the user.

**uuid** `string`

The UUID of the Akamai user risk assessment.

## `event.client`

**event.client** `object`

Information about the Client with which this transaction was initiated.

**event.client properties**

**client\_id** `string`

The client id of the application the user is logging in to.

**metadata** `dictionary`

An object for holding other application properties.

**name** `string`

The name of the application (as defined in the Dashboard).

## `event.connection`

**event.connection** `object`

Details about the Connection that was used to register the user.

**event.connection properties**

**id** `string`

The connection's unique identifier.

**metadata** `dictionary`

Metadata associated with the connection.

**name** `string`

The name of the connection used to authenticate the user (such as `twitter` or `some-g-suite-domain`).

**strategy** `string`

The type of connection. For social connections, `event.connection.strategy === event.connection.name`. For enterprise connections, the strategy is `waad` (Windows Azure AD), `ad` (Active Directory/LDAP), `auth0` (database connections), and so on.

## `event.custom_domain`

**event.custom\_domain** `object`

Details about the custom domain associated with the current transaction.

**event.custom\_domain properties**

**domain** `string`

The custom domain name.

**domain\_metadata** `dictionary`

Custom domain metadata as key-value pairs.

## `event.request`

**event.request** `object`

Details about the request that initiated the transaction.

**event.request properties**

**body** `dictionary`

The body of the POST request. This data will only be available during refresh token, Client Credential Exchange flows and PreUserRegistration Action.

**geoip** `dictionary`

**geoip properties**

**cityName** `string`

**continentCode** `string`

**countryCode** `string`

**countryCode3** `string`

**countryName** `string`

**latitude** `number`

**longitude** `number`

**subdivisionCode** `string`

**subdivisionName** `string`

**timeZone** `string`

**hostname** `string`

The hostname that is being used for the authentication flow.

**ip** `string`

The originating IP address of the request.

**language** `string`

The language requested by the browser.

**method** `string`

The HTTP method used for the request

**user\_agent** `string`

The value of the `User-Agent` header received when initiating the transaction.

## `event.secrets`

**event.secrets** `secrets`

Secret values securely associated with this Action.

## `event.security_context`

**event.security\_context** `object`

An object containing fingerprint signatures. This will be available only if the client is using cloudflare. The JA3/JA4 fingerprint can be null or empty in some cases. The most common case is for HTTP requests because JA3 and JA4 are calculated in TLS. It can also be empty due to the Worker sending requests within the same zone or to a zone that is not proxied (or a third party).

**event.security\_context properties**

**ja3** `string`

JA3 fingerprint signature. This will be available only if the client is using a TLS connection.

**ja4** `string`

JA4 fingerprint signature. This will be available only if the client is using a TLS connection.

## `event.tenant`

**event.tenant** `object`

Details about the Tenant associated with the current transaction.

**event.tenant properties**

**id** `string`

The name of the tenant.

## `event.transaction`

**event.transaction** `dictionary`

Details about the current transaction.

**event.transaction properties**

**acr\_values** `array of string`

Any acr\_values provided in the original authentication request.

**locale** `string`

The locale to be used for this transaction as determined by comparing the browser's requested languages to the tenant's language settings.

**login\_hint** `string`

Hint to the Authorization Server about the login identifier the End-User might use to log in (if necessary).

**prompt** `array of string`

List of instructions indicating whether the user may be prompted for re-authentication and consent.

**protocol** `string`

Allowed values: `oidc-basic-profile`, `oidc-ciba`, `oidc-ciba-web-link`, `oidc-implicit-profile`, `oauth2-device-code`, `oauth2-resource-owner`, `oauth2-resource-owner-jwt-bearer`, `oauth2-password`, `oauth2-webauthn`, `oauth2-access-token`, `oauth2-refresh-token`, `oauth2-token-exchange`, `oidc-hybrid-profile`, `samlp`, `wsfed`, `wstrust-usernamemixed`

**redirect\_uri** `string`

The URL to which Auth0 will redirect the browser after the transaction is completed.

**requested\_scopes** `array of string`

The scopes requested (if any) when starting this authentication flow.

**response\_mode** `string`

Informs the Authorization Server of the mechanism to be used for returning parameters from the Authorization Endpoint.

Allowed values: `query`, `fragment`, `form_post`, `web_message`

**response\_type** `array of string`

Denotes the kind of credential that Auth0 will return.

**state** `string`

An opaque arbitrary alphanumeric string your app adds to the initial request that Auth0 includes when redirecting back to your application.

**ui\_locales** `array of string`

The ui\_locales provided in the original authentication request.

**correlation\_id** `string`

Correlation ID can be provided in the initial authentication request when the application redirects to Universal Login. You can use value to correlate logs and requests from your Action code with the user flow.

## `event.user`

**event.user** `object`

An object describing the user who is attempting to register.

**event.user properties**

**app\_metadata** `dictionary`

Custom fields that store info about a user that influences the user's access, such as support plan, security roles, or access control groups.

**email** `string`

(unique) User's email address.

**family\_name** `string`

User's family name.

**given\_name** `string`

User's given name.

**name** `string`

User's full name.

**nickname** `string`

User's nickname.

**phone\_number** `string`

User's phone number.

**picture** `string`

URL pointing to the [user's profile picture](https://auth0.com/docs/users/change-user-picture).

**user\_metadata** `dictionary`

Custom fields that store info about a user that does not impact what they can or cannot access, such as work address, home address, or user preferences.

**username** `string`

(unique) User's username.
