API

Get sign-in code

Returns the pending sign-in code for the user_code, so the verification page can ask the user for consent.

GET/v1/hq/oauth/sign_in_codes/{user_code}

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

Path Parameters

user_code*string
Example"WDJB-MJHT"

Response Body

application/json

curl -X GET "https://api.noona.is/v1/hq/oauth/sign_in_codes/WDJB-MJHT"
{
  "user_code": "WDJB-MJHT",
  "client_id": "7awdXwZoedakjad37a",
  "app": {
    "name": "Noona CLI",
    "logo": "https://noona.is/logo.png"
  },
  "scopes": [
    "activities:read"
  ],
  "expires_at": "2020-08-24T14:15:22Z"
}
Empty
Empty
Empty
Empty