Whoami

Get the calling credential

Returns the organization the request acts in and the credential it presents: an API key with its name, prefix, and access, or a signed-in user with their role. Any valid credential may call it, whatever its grants.

get/v1/whoami

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/whoami
  • Auth: API key in header x-api-key

Response

Whoami

Changes

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