Skip to content

Handle Better Auth POST route

POST
/api/auth/{authPath}
curl --request POST \
--url https://example.com/api/auth/example

Catch-all route delegated to Better Auth for sign-in, sign-up, sign-out, and other auth POST flows.

authPath
required
string

Better Auth handled the POST request.

Better Auth rejected the request.