Check whether a signup username is free, taken, or GitHub-claimable
GET/api/auth/handle-availability
checkHandleAvailability
Powers the inline hint under the signup username field. `claimable_on_github` means the handle is owned on GitHub and (to prevent impersonation of established accounts) can only be registered through the OAuth claim-by-proof flow. Probe failures degrade to `available` — the signup POST is the authoritative, fail-closed gate.
Authentication is not described for this operation in the spec — that does not mean it is public. Check tokens and scopes.
curl
curl -X GET 'https://neosource.dev/api/auth/handle-availability?handle=HANDLE'fetch
fetch("https://neosource.dev/api/auth/handle-availability?handle=HANDLE", {
method: "GET",
});Query parameters
handlerequiredCandidate username to check before signup.
Responses
200Availability verdict
application/json
Standard errors
Bodies documented once for the whole API — see standard errors.
- 400Invalid request body
- 401Invalid credentials
- 429Rate limited — retry after the interval in the `Retry-After` header
- 500Internal server error
- 503Service temporarily unavailable / at capacity — retry after the `Retry-After` header
- 504Gateway timeout — the request exceeded the server's handling budget