# Get SMS Countries
> Source: /api-reference/members/auth/accepted-sms-countries
> Get supported countries for SMS verification
> Endpoint: GET /members/me/auth/accepted-sms-countries

## Overview [#overview]

Returns a list of country codes where SMS OTP verification is supported. This endpoint is **public** (no authentication required) and can be used to validate user phone numbers before attempting OTP verification.

## Authentication [#authentication]

None required - this is a public endpoint.

<RequestExample>

```bash cURL
curl -X GET "http://localhost:3000/v1/members/me/auth/accepted-sms-countries"
```

```typescript TypeScript
const response = await fetch('http://localhost:3000/v1/members/me/auth/accepted-sms-countries');
const countries = await response.json();
```

```javascript Bruno
// From: /bruno/Members (Surface)/Me/Auth/Get Accepted SMS Countries.bru
GET {{host}}/members/me/auth/accepted-sms-countries
```

</RequestExample>

## Response [#response]

Returns an array of ISO 3166-1 alpha-2 country codes where SMS OTP is supported.

<ResponseExample>

```json 200 Response
[
  "US",
  "CA"
]
```

</ResponseExample>

## Usage [#usage]

Use this endpoint to:

1. **Validate phone numbers** before OTP requests
2. **Show country picker** with only supported countries  
3. **Display helpful errors** when unsupported numbers are entered
4. **Cache the list** (it changes infrequently)

## Example Implementation [#example-implementation]

```typescript
// Check if phone number is from supported country
const supportedCountries = await fetch('/members/me/auth/accepted-sms-countries')
  .then(r => r.json());

function isPhoneSupported(phoneNumber: string): boolean {
  // Extract country code from E.164 format
  const countryCode = getCountryCodeFromPhone(phoneNumber);
  return supportedCountries.includes(countryCode);
}

// Usage in form validation
if (!isPhoneSupported(userPhone)) {
  showError('SMS verification not available in your country. Please use email instead.');
}
```

## Current Coverage [#current-coverage]

Currently supports:
- **US** - United States
- **CA** - Canada

Additional countries may be added based on SMS provider coverage and compliance requirements.

## Related Endpoints [#related-endpoints]

- [Get OTP Status](/api-reference/members/auth/otp-status) - Check SMS delivery status
- [Add Verified Contact](/api-reference/members/auth/verified-contact) - Verify contact after OTP
