Auth

Get Default Api Key

Changed on

Get the user's default API key. If no default is set, returns the first (oldest) active API key. This respects user preference for default key selection.

Requires JWT Bearer authentication with the token received from the login endpoint.

get/api/v1/auth/keys/default

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Authorization codehttps://auth.mor.org/oauth2/authorize
      Token URLhttps://auth.mor.org/oauth2/token
      Scopesaws.cognito.signin.user.admin, openid, email, profile
    • or HTTP bearer

Response

Successful Response

idinteger required
key_prefixstring required
namestring
created_atstring date-time required
is_activeboolean required
is_defaultboolean
encrypted_keystring
encryption_versioninteger

Changes