# List the legal documents a new account must accept

`GET /api/terms/required`

Authentication: no security requirement declared for this operation.

Parameters:

- `locale` (query, string, required)
  Type: string

Responses:

- 200: Document id, version, sha256 and locale for each required document.

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/terms/required?locale=string'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/terms/required?locale=string', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/terms/required?locale=string')
print(response.text)
```
