Skip to main content
Version: 1.5.2

Common - Connected User Info

GET 

/get-caller-info

authorization

This API endpoint requires an API Key with at least one of the following Roles: SystemAdmin | PoliciesManager | ResourceViewer | CryptoUser | KeysManager | KeysImporter | KeysExporter

Get the metadata for the user calling this endpoint (user ID, roles, etc.)

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Responses

Schema

    namestring | nullnullable
    rolesSystemRole[]required

    Possible values: [system_admin, policies_manager, resource_viewer, crypto_user, keys_manager, keys_importer, keys_exporter]

    user_idUserIdrequired