Calling the REST API from your backend
UseAuthorization: Bearer with a personal access key npk_* from Access keys for servers, scripts, and MCP (MCP Auth). That is how non-browser clients authenticate to the same HTTP API the SDK uses under the hood.
End-user browsers normally do not need this—use hosted checkout and NeusClient instead.
Hosted
getHostedCheckoutUrl+returnUrl- Hosted Verify- User finishes on neus.network
- Continue in your app with the proof result; for server-to-API calls, use
npk_*as in API authentication.
Authorization: Bearer on API/MCP. MCP: Auth (neus_me).
In-app verify (default)
UseNeusClient.verify() so the SDK prepares the signing payload and submits - see Quickstart.
Advanced: manual standardize + sign
Only when you need full control over the request body (customverifierIds / data) before submit: