Auth

Get First Api Key

Changed on

Get the first (oldest) active API key for the current user. This is used for automatic API key selection on login.

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

get/api/v1/auth/keys/first

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