authentication
Registration Configuration
Return public registration availability and the public challenge site key.
GET
/
api
/
auth
/
registration-config
Registration Configuration
curl --request GET \
--url https://api.aixy-gateway.com/api/auth/registration-configimport requests
url = "https://api.aixy-gateway.com/api/auth/registration-config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aixy-gateway.com/api/auth/registration-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"registration_enabled": true,
"turnstile_site_key": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}⌘I
Registration Configuration
curl --request GET \
--url https://api.aixy-gateway.com/api/auth/registration-configimport requests
url = "https://api.aixy-gateway.com/api/auth/registration-config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aixy-gateway.com/api/auth/registration-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"registration_enabled": true,
"turnstile_site_key": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}