Skip to main content
GET
/
api
/
auth
/
register-switch
Get Register Switch
curl --request GET \
  --url https://api.example.com/api/auth/register-switch \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "registration_enabled": true,
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.xagent.run/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

success
boolean
required
registration_enabled
boolean
required
message
string
required