API

OAuth

Starts an OAuth flow for a user.

POST/v1/hq/user/oauth

Authorization

BearerTokenAuth

AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Query Parameters

provider*string
Value in"google" | "saltpay"
redirect_uri?string

The URI to redirect to after the OAuth flow is complete.

Response Body

application/json

curl -X POST "https://api.noona.is/v1/hq/user/oauth?provider=google"
{
  "redirect_url": "string"
}
Empty