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

# Methods

<ResponseField name="sendAction" type="function(params: object): void">
  This method is used to send user actions for analysis.

  <Expandable title="params">
    <ResponseField name="cpf" type="string" required>
      User's CPF
      Example: `000.000.000-00`
    </ResponseField>

    <ResponseField name="email" type="string">
      User's email
      Example: `mail@example.com`
    </ResponseField>

    <ResponseField name="action" type="string">
      User action

      * `signin`: Login action
      * `signup`: Registration action
      * `deposit`: Deposit action
      * `withdraw`: Withdrawal action
      * `bet`: Bet action
      * `bet_profit`: Bet profit action
      * `bet_loss`: Bet loss action
      * `check`: must be send every 30 minutes
    </ResponseField>
  </Expandable>

  Example:

  <CodeGroup>
    ```html theme={null}
    <script src="https://cdn.legitimuz.com/betsafe.js"></script>
    <script type="text/javascript">
      legitimuz.sendAction({
        cpf: '000.000.000-00',
        email: 'mail@example.com',
        action: 'signin'
      })
    </script>
    ```
  </CodeGroup>
</ResponseField>
