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

# Send Phone Verification SMS

> Send SMS verification code to user's phone number during registration

## Overview

Send a verification code via SMS to the user's phone number. This is typically the second step in the registration onboarding flow after email verification.

The user will receive a 6-digit code via SMS that must be verified in the next step.

## Request

### Body

<ParamField body="phoneCountryCode" type="string" required>
  Phone country calling code

  **Format**: Include + prefix

  **Example**: `+44`
</ParamField>

<ParamField body="phoneNumber" type="string" required>
  Phone number without country code

  **Example**: `7400846282`
</ParamField>

<ParamField body="contactVerificationId" type="string" required>
  Verification ID from email send step

  **Example**: `US_100a99cf-f4d3-4fa1-9be9-2e9828b20ebb`
</ParamField>

## Response

```json theme={null}
{
  "success": true
}
```

## Code Examples

<CodeGroup>
  ```javascript JavaScript theme={null}
  const response = await fetch('https://dev.api.baanx.com/v1/auth/register/phone/send', {
    method: 'POST',
    headers: {
      'x-client-key': 'your-client-key',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      phoneCountryCode: '+44',
      phoneNumber: '7400846282',
      contactVerificationId: sessionStorage.getItem('contactVerificationId')
    })
  });

  console.log('SMS verification code sent');
  ```
</CodeGroup>

## Next Steps

<Card title="Verify Phone Code" href="/api-reference/auth/register-phone-verify">
  Verify the SMS code to confirm phone number
</Card>
