ProfilesService
Profiles
Retrieves the profile for the credentials accessing the API
Retrieves the profile of the authenticated caller. Useful to check which principal a token belongs to.
get/v1/whoami
Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}