---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://truto.one/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# List the signup regions

> Source: https://truto.one/docs/api-reference/admin/authentication/signup-regions/

`GET /auth/signup/regions`

Resource: **Authentication**

The data regions `POST /auth/signup` offers, and the default one. An empty list means self-serve signup is not offered. Cached for 60 seconds.

## Response body

- **`regions`** _(array<object>)_
  - **`id`** _(string)_
    The value to send as `region`.
  - **`label`** _(string)_
    The region's name to show, e.g. `Europe`.
- **`default`** _(string)_
  The `id` of the default region; `null` when there are none.

## Errors

| Status | Description |
| :----- | :---------- |
| `404` | This deployment does not offer the list: only the routing layer in front of the API answers it, and only where self-serve signup can be routed. |

## Code examples

### curl

```bash
curl -X GET 'https://api.truto.one/auth/signup/regions' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.truto.one/auth/signup/regions', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

url = "https://api.truto.one/auth/signup/regions"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())
```
