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

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

```json Event Object theme={null}
{
  "client": {
    "client_id": "string",
    "metadata": {},
    "name": "string"
  },
  "notification": {
    "as_text": "string",
    "as_voice": "string",
    "delivery_method": "string",
    "message_type": "string",
    "recipient": "string"
  },
  "request": {
    "geoip": {},
    "ip": "string",
    "method": "string"
  },
  "tenant": {
    "id": "string"
  },
  "user": {},
  "secrets": {}
}
```

## `event.client`

**event.client** `object`

Information about the Client with which this login 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 authenticate 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.notification`

**event.notification** `object`

**event.notification properties**

**as\_text** `string`

The text, as we rendered it, ready to be delivered as a text message.

**as\_voice** `string`

The text, as we rendered it, ready to be delivered as a voicetext message.

**code** `string`

The One Time Password that we drawn for this message for some types (e.g. `otp_verify`, `otp_enroll`). If provided, it is important to have it conveyed to the end-user.

**delivery\_method** `string`

The way the message should be delivered. Could be `text` or `voice`.

Allowed values: `text`, `voice`

**from** `string`

The E.164 compliant phone number for the sender.

**locale** `string`

The locale we rendered the message in, example `en_US`, as defined in the BCP-47 specification.

**message\_type** `string`

The type of message that is being send, like `otp_verify` or `blocked_account`.

Allowed values: `otp_verify`, `otp_enroll`, `blocked_account`, `change_password`, `password_breach`

**recipient** `string`

The E.164 compliant phone number for the recipient.

## `event.organization`

**event.organization** `dictionary`

Details about the Organization associated with the current transaction.

**event.organization properties**

**id** `string`

The Organization identifier.

**display\_name** `string`

The friendly name of the Organization.

**metadata** `dictionary`

Metadata associated with the Organization.

**name** `string`

The name of the Organization.

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

**event.tenant** `object`

**event.tenant properties**

**id** `string`

The name of the tenant.

**friendly\_name** `string`

The friendly name for the tenant, usually a more human-readable version of the ID.

**home\_url** `string`

The home URL for the tenant, if defined and as found in its settings.

**logo\_url** `string`

The logo URL for the tenant, if defined and as found in its settings.

**support\_email** `string`

The email to the tenant's support service, if defined and as found in its settings.

**support\_url** `string`

The url to the tenant's support service, if defined and as found in its settings.

## `event.transaction`

**event.transaction** `object`

Details about the current transaction for tracing purposes.

**event.transaction properties**

**correlation\_id** `string`

A unique identifier to correlate this request across multiple services for distributed tracing.

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

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

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