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

> トリガーの実行に関するコンテキスト情報を提供する、send-phone-message Action トリガーのイベントオブジェクトについて説明します。

# イベントオブジェクト

send-phone-message Actions トリガーの `event` オブジェクトは、トリガーの実行に関するコンテキスト情報を提供します。

```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": {}
}
```

<div id="eventclient">
  ## `event.client`
</div>

<ResponseField name="event.client" type="object" post={["optional"]}>
  このトランザクションを開始したクライアントに関する情報。

  <Expandable title="event.client のプロパティ" defaultOpen>
    <ResponseField name="client_id" type="string">
      ユーザーがログインするアプリケーションのクライアント ID。
    </ResponseField>

    <ResponseField name="metadata" type="dictionary">
      アプリケーションのその他のプロパティを保持するオブジェクト。
    </ResponseField>

    <ResponseField name="name" type="string">
      アプリケーション名 (Auth0 Dashboard で定義) 。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventcustom_domain">
  ## `event.custom_domain`
</div>

<ResponseField name="event.custom_domain" type="object" post={["optional"]}>
  現在のトランザクションに関連付けられたカスタムドメインの詳細。

  <Expandable title="event.custom_domain のプロパティ" defaultOpen>
    <ResponseField name="domain" type="string">
      カスタムドメイン名。
    </ResponseField>

    <ResponseField name="domain_metadata" type="dictionary">
      キーと値のペアで構成されるカスタムドメインのメタデータ。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventmessage_options">
  ## `event.message_options`
</div>

<ResponseField name="event.message_options" type="object">
  ユーザーに送信するメッセージの詳細。

  <Expandable title="event.message_options のプロパティ" defaultOpen>
    <ResponseField name="action" type="string">
      このActionをトリガーしたフロー。

      許可される値: `enrollment`, `second-factor-authentication`
    </ResponseField>

    <ResponseField name="code" type="string">
      ユーザーがFormに入力するワンタイムパスワード。
    </ResponseField>

    <ResponseField name="message_type" type="string">
      メッセージの配信方法。`sms` または `voice` です。

      許可される値: `sms`, `voice`
    </ResponseField>

    <ResponseField name="recipient" type="string">
      メッセージの送信先の電話番号。
    </ResponseField>

    <ResponseField name="text" type="string">
      送信するメッセージの内容。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventrequest">
  ## `event.request`
</div>

<ResponseField name="event.request" type="object">
  トランザクションを開始したリクエストの詳細。

  <Expandable title="リクエストのプロパティ" defaultOpen>
    <ResponseField name="geoip" type="dictionary">
      <Expandable title="geoip のプロパティ" defaultOpen>
        <ResponseField name="cityName" type="string" post={["optional"]} />

        <ResponseField name="continentCode" type="string" post={["optional"]} />

        <ResponseField name="countryCode" type="string" post={["optional"]} />

        <ResponseField name="countryCode3" type="string" post={["optional"]} />

        <ResponseField name="countryName" type="string" post={["optional"]} />

        <ResponseField name="latitude" type="number" post={["optional"]} />

        <ResponseField name="longitude" type="number" post={["optional"]} />

        <ResponseField name="subdivisionCode" type="string" post={["optional"]} />

        <ResponseField name="subdivisionName" type="string" post={["optional"]} />

        <ResponseField name="timeZone" type="string" post={["optional"]} />
      </Expandable>
    </ResponseField>

    <ResponseField name="hostname" type="string" post={["optional"]}>
      認証フローで使用されるホスト名。
    </ResponseField>

    <ResponseField name="ip" type="string">
      リクエストの送信元IPアドレス。
    </ResponseField>

    <ResponseField name="language" type="string" post={["optional"]}>
      ブラウザーから要求された言語。
    </ResponseField>

    <ResponseField name="method" type="string">
      リクエストに使用されたHTTPメソッド
    </ResponseField>

    <ResponseField name="user_agent" type="string" post={["optional"]}>
      トランザクションの開始時に受信した`User-Agent`ヘッダーの値。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventsecrets">
  ## `event.secrets`
</div>

<ResponseField name="event.secrets" type="secrets">
  このActionに安全に関連付けられたシークレット値。
</ResponseField>

<div id="eventsecurity_context">
  ## `event.security_context`
</div>

<ResponseField name="event.security_context" type="object" post={["optional"]}>
  フィンガープリントシグネチャを含むオブジェクト。クライアントがCloudflareを使用している場合にのみ利用できます。JA3/JA4フィンガープリントは、場合によってはnullまたは空になります。最も一般的なのはHTTPリクエストの場合です。これは、JA3とJA4がTLSで計算されるためです。Workerが同じゾーン内、プロキシされていないゾーン、またはサードパーティにリクエストを送信した場合にも空になることがあります。

  <Expandable title="event.security_contextのプロパティ" defaultOpen>
    <ResponseField name="ja3" type="string" post={["optional"]}>
      JA3フィンガープリントシグネチャ。クライアントがTLS接続を使用している場合にのみ利用できます。
    </ResponseField>

    <ResponseField name="ja4" type="string" post={["optional"]}>
      JA4フィンガープリントシグネチャ。クライアントがTLS接続を使用している場合にのみ利用できます。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventtenant">
  ## `event.tenant`
</div>

<ResponseField name="event.tenant" type="object">
  現在のトランザクションに関連付けられているテナントの詳細。

  <Expandable title="event.tenant のプロパティ" defaultOpen>
    <ResponseField name="id" type="string">
      テナントの名前。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventtransaction">
  ## `event.transaction`
</div>

<ResponseField name="event.transaction" type="object" post={["optional"]}>
  現在のトランザクションの詳細。

  <Expandable title="event.transaction のプロパティ" defaultOpen>
    <ResponseField name="correlation_id" type="string" post={["optional"]}>
      アプリケーションが Universal Login にリダイレクトする際、初回認証リクエストで Correlation ID を指定できます。この値を使用して、Action コードからのログやリクエストをユーザーフローに関連付けることができます。
    </ResponseField>
  </Expandable>
</ResponseField>

<div id="eventuser">
  ## `event.user`
</div>

<ResponseField name="event.user" type="dictionary">
  現在のトランザクションがユーザーに代わって開始されたことを表すオブジェクト。

  <Expandable title="event.user のプロパティ" defaultOpen>
    <ResponseField name="app_metadata" type="dictionary">
      サポートプラン、セキュリティロール、アクセス制御グループなど、ユーザーのアクセス権に影響する情報を格納するカスタムフィールド。
    </ResponseField>

    <ResponseField name="created_at" type="string">
      ユーザープロファイルが最初に作成された日時を示すタイムスタンプ。
    </ResponseField>

    <ResponseField name="email" type="string" post={["optional"]}>
      (一意の) ユーザーのメールアドレス。
    </ResponseField>

    <ResponseField name="email_verified" type="boolean">
      ユーザーがメールアドレスを確認済みかどうかを示します。
    </ResponseField>

    <ResponseField name="family_name" type="string" post={["optional"]}>
      ユーザーの姓。
    </ResponseField>

    <ResponseField name="given_name" type="string" post={["optional"]}>
      ユーザーの名。
    </ResponseField>

    <ResponseField name="last_password_reset" type="string" post={["optional"]}>
      ユーザーのパスワードが最後にリセットまたは変更された日時を示すタイムスタンプ。ユーザーの作成時には、このフィールドは存在しません。このプロパティはデータベース接続でのみ使用できます。
    </ResponseField>

    <ResponseField name="name" type="string" post={["optional"]}>
      ユーザーのフルネーム。
    </ResponseField>

    <ResponseField name="nickname" type="string" post={["optional"]}>
      ユーザーのニックネーム。
    </ResponseField>

    <ResponseField name="phone_number" type="string" post={["optional"]}>
      ユーザーの電話番号。
    </ResponseField>

    <ResponseField name="phone_verified" type="boolean" post={["optional"]}>
      ユーザーが電話番号を確認済みかどうかを示します。
    </ResponseField>

    <ResponseField name="picture" type="string" post={["optional"]}>
      [ユーザーのプロフィール画像](https://auth0.com/docs/users/change-user-picture)を指すURL。
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      ユーザーのプロファイルが最後に更新または変更された日時を示すタイムスタンプ。
    </ResponseField>

    <ResponseField name="user_id" type="string">
      (一意の) ユーザーの一意の識別子。
    </ResponseField>

    <ResponseField name="user_metadata" type="dictionary">
      勤務先住所、自宅住所、ユーザー設定など、ユーザーがアクセスできる内容に影響しない情報を格納するカスタムフィールド。
    </ResponseField>

    <ResponseField name="username" type="string" post={["optional"]}>
      (一意の) ユーザー名。
    </ResponseField>

    <ResponseField name="identities" type="array of objects" post={["optional"]}>
      ユーザーが最初に認証したアイデンティティプロバイダーから取得した情報を含みます。ユーザーはプロファイルを複数のアイデンティティプロバイダーにリンクすることもでき、そのアイデンティティもこの配列に表示されます。個々のアイデンティティプロバイダーオブジェクトの内容は、プロバイダーによって異なります。
    </ResponseField>
  </Expandable>
</ResponseField>
