ProfilesService
Profiles

Retrieves the profile for the credentials accessing the API

Changed on

Retrieves the profile of the authenticated caller. Useful to check which principal a token belongs to.

get/v1/whoami

Request

  • Base URL
    https://api.cadenya.com
  • URL
    https://api.cadenya.com/v1/whoami
  • Auth
    HTTP bearer

Response

OK

Example response

{
  "metadata": {
    "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
    "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
  }
}

Changes