---
title: "Get the signup policy"
---

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

# Get the signup policy

Path: Simplcron API › Session

`GET /auth/config`

Check whether signup is open, requires a staging access code, or is closed.

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/auth/config'
```

### TypeScript

```typescript
const url = '<base-url>/auth/config';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/auth/config"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Current signup policy

#### Example

```json
{
  "signup": "open"
}
```

- `signup` (`getSignupPolicy.response.200.signup`; string, required)
  - one of `"open"`, `"invite"`, `"closed"`


Source: https://simplcron.dev/docs/api/get-signup-policy/index.md
