Every HTTP endpoint of the app, read from its route files. Session means the request needs a signed-in session (the deployment passcode, or the app's own sign-in); Public endpoints answer anyone.
Note
Requests that change data must come from the app's own pages; send JSON unless an endpoint says otherwise.
Checks that auth.<domain> answers from this service, and records the result.
POST
/api/domains/:id/connect
Session
Connects auth.<domain> to this Worker in Cloudflare (proxied DNS record + Worker route), then checks that it answers. Safe to run again: existing pieces it created are reused.
POST
/api/domains/:id/rotate-secret
Session
Issues a new secret key. The previous key stops working at once, and the new one is shown only now.
POST
/api/domains/:id/verify
Session
Opens <app address>/api/auth/sign-in (https://<domain> unless the domain has an app address) without following redirects. When the Next.js integration is installed, it answers with a redirect to this service's sign-in page carrying the domain's site key.
GET
/api/domains/:id/webhook
Session
The endpoint, its signing secret and the last 20 deliveries.
PUT
/api/domains/:id/webhook
Session
Sets the endpoint ({ url }) or removes it ({ url: null }).
POST
/api/domains/:id/webhook
Session
{ action: "test" } sends a webhook.test event and waits for the result; { action: "rotate" } replaces the secret.
Tells the Domains page that auth.<domain> reaches this service. Public: it reveals only whether the host's domain is connected, which its sign-in page shows anyway.
Emails a six-digit sign-in code. Answers the same way whether or not the email has an account.
POST
/api/hosted/email-code/verify
Public
Checks an emailed code and signs the person in, creating the account on first use.
POST
/api/hosted/forgot-password
Public
Always answers the same way, so the form does not reveal which emails have an account.
POST
/api/hosted/reset-password
Public
—
POST
/api/hosted/sign-in
Public
—
POST
/api/hosted/sign-up
Public
—
POST
/api/hosted/two-factor
Public
The two-factor step of a sign-in, by action: - verify: a 6-digit code from the authenticator app, or a recovery code; - enable: the first code from a newly scanned app, which turns two-factor on; - skip: decline the optional set-up offer.
POST
/api/hosted/verify-email
Public
Spends a verification link. Called by the page's script, so link scanners do not use it up.
Inventory endpoint read by subdomains.appneural.com. Users and activity are private, so the public inventory is the set of connected domains, without names, keys or counts.
The site key is public by design (it appears in every sign-in URL), so this needs no session. The secret key is never part of the generated files, which point the app at its own https://auth.<domain>.