Meta

Introspect the current API key

Returns the prefix and scope list of the API key used to make the request. Useful for clients that want to surface permissions to users.

get/api/v1/auth/key-info

Request

  • Base URL: https://api.gatewerk.com
  • URL: https://api.gatewerk.com/api/v1/auth/key-info
  • Auth: HTTP bearer

Response

Key info

object'key_info' required
prefixstring required
scopesScope[] nullable

Example response

{
  "prefix": "gwk_abf42c19"
}

Changes

No recorded changes to this operation across all 1 revision of this API.