---
title: "Get countries list"
method: GET
path: "/api/user/{id}/profile/phone/countries"
tags: ["User Management"]
---

# Get countries list

`GET /api/user/{id}/profile/phone/countries`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/user/{id}/profile/phone/countries`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/user/:id/profile/phone/countries/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of countries with phone codes for phone number validation.

## Response `200`

List of countries with phone codes

- object[]
  - `name` string
  - `code` string
  - `dial_code` string

## Other responses

- `401`: Unauthenticated

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
