AuthRegistrationOption
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/v1/auth/registration_options |
load |
Password signup availability and Turnstile configuration |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
auth_registration_option, err := client.AuthRegistrationOption(nil).Load(nil, nil)
if err != nil {
panic(err)
}
fmt.Println(auth_registration_option)
Lua
Construct client as shown in the Lua setup, then call the operations:
local auth_registration_option, err = client:AuthRegistrationOption():load()
PHP
Construct client as shown in the PHP setup, then call the operations:
$auth_registration_option = $client->AuthRegistrationOption()->load();
Python
Construct client as shown in the Python setup, then call the operations:
auth_registration_option = client.AuthRegistrationOption().load()
Ruby
Construct client as shown in the Ruby setup, then call the operations:
auth_registration_option = client.AuthRegistrationOption.load()
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const auth_registration_option = await client.AuthRegistrationOption().load()
Fields
| Field | Type | Required | Description |
|---|---|---|---|
email_password_signup_enabled |
boolean |
Yes | Email Password Signup Enabled |
openai_sign_in_enabled |
boolean |
No | Whether ChatGPT identity sign-in is configured and enabled for rollout. |
turnstile_site_key |
one,string,null |
Yes | Turnstile Site Key |
waitlist_enabled |
boolean |
Yes | New public signups require waitlist approval when enabled. |
load
GET /api/v1/auth/registration_options
Operation ID: api_v1_auth_registration_options.
Authentication: not required.
Responses
200: Password signup availability and Turnstile configuration
application/json
| Property | Type | Required | Description |
|---|---|---|---|
email_password_signup_enabled |
boolean |
Yes | |
openai_sign_in_enabled |
boolean |
No | Whether ChatGPT identity sign-in is configured and enabled for rollout. |
turnstile_site_key |
string |
Yes | |
waitlist_enabled |
boolean |
Yes | New public signups require waitlist approval when enabled. |