> ## 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 send-phone-message Action trigger's event object, which provides contextual information about the trigger execution.

The `event` object for the send-phone-message Actions trigger provides contextual information about the trigger execution.

```json Event Object theme={null}
{
  "secrets": {},
  "message_options": {
    "action": "string",
    "code": "string",
    "message_type": "string",
    "recipient": "string",
    "text": "string"
  },
  "request": {
    "geoip": {},
    "ip": "string",
    "method": "string"
  },
  "tenant": {
    "id": "string"
  },
  "user": {}
}
```

## `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.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.message_options`

**event.message\_options** `object`

Details about the message that is sent to the user.

**event.message\_options properties**

**action** `string`

The flow that triggered this action.

Allowed values: `enrollment`, `second-factor-authentication`

**code** `string`

One-time password that the user needs to use to enter in the form.

**message\_type** `string`

How the message will be delivered, either by 'sms' or 'voice'.

Allowed values: `sms`, `voice`

**recipient** `string`

Phone number where the message will be sent.

**text** `string`

Content of the message to be sent.

## `event.request`

**event.request** `object`

Details about the request that initiated the transaction.

**event.request properties**

**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** `object`

Details about the current transaction.

**event.transaction properties**

**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** `dictionary`

An object describing the user on whose behalf the current transaction was initiated.

**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.

**created\_at** `string`

Timestamp indicating when the user profile was first created.

**email** `string`

(unique) User's email address.

**email\_verified** `boolean`

Indicates whether the user has verified their email address.

**family\_name** `string`

User's family name.

**given\_name** `string`

User's given name.

**last\_password\_reset** `string`

Timestamp indicating the last time the user's password was reset/changed. At user creation, this field does not exist. This property is only available for Database connections.

**name** `string`

User's full name.

**nickname** `string`

User's nickname.

**phone\_number** `string`

User's phone number.

**phone\_verified** `boolean`

Indicates whether the user has verified their phone number.

**picture** `string`

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

**updated\_at** `string`

Timestamp indicating when the user's profile was last updated/modified.

**user\_id** `string`

(unique) User's unique identifier.

**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.

**identities** `array of objects`

Contains info retrieved from the identity provider with which the user originally authenticates. Users may also link their profile to multiple identity providers; those identities will then also appear in this array. The contents of an individual identity provider object varies by provider.
