Morpheus API Gateway LogoMorpheus API Gateway
Auth

Get Api Keys

Get all API keys for the current user. Requires JWT Bearer authentication with the token received from the login endpoint.

GET
/api/v1/auth/keys

Authorization

AuthorizationRequiredBearer <token>

Enter the JWT token you received from the login endpoint (without 'Bearer' prefix)

In: header

Response Body

Successful Response

TypeScript Definitions

Use the response body type in TypeScript.

responseRequiredResponse Get Api Keys Api V1 Auth Keys Get
curl -X GET "http://api.mor.org/api/v1/auth/keys" \
  -H "Authorization: Bearer <token>"
[
  {
    "id": 0,
    "key_prefix": "string",
    "name": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "is_active": true
  }
]

How is this guide?