Skip to content
StraventaDocs
Now in Sandbox.

Public signup configuration

GET
/v1/auth/signup/config

Returns the per-host signup mode (create_tenant or join_tenant), whether signup is enabled, and — when the requesting host resolves to an existing tenant — that tenant's display name + slug. The mode is resolved per-request from the request host (tenant_hostnames), not from a deploy-time setting. The SPA's /signup form uses this to adapt its UI: in join_tenant mode it hides tenant_name + tenant_slug fields and surfaces "Joining {tenant_name}". An unrecognized host reports create_tenant with no tenant fields. Public, no auth, no rate limit.

Response Body

application/json

application/json

curl -X GET https://sandbox.505pay.link/v1/auth/signup/config \  -H "Authorization: Bearer $TOKEN" \  -H "Content-Type: application/json"
{
  "mode": "join_tenant",
  "signup_enabled": true,
  "tenant_name": "Acme Corp",
  "tenant_slug": "acme-corp",
  "captcha_provider": "altcha",
  "captcha_challenge_url": "/v1/auth/signup/altcha-challenge",
  "turnstile_enabled": false
}
{
  "error": "rate_limited",
  "message": "too many requests",
  "request_id": "req_01abc127"
}

Was this page helpful?