ProfilesService
Profiles
Retrieves the profile for the credentials accessing the API
Changed onRetrieves the profile of the authenticated caller. Useful to check which principal a token belongs to.
get/v1/whoami
Request
- Base URLhttps://api.cadenya.com
- URLhttps://api.cadenya.com/v1/whoami
- AuthHTTP bearer
Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}Changes
- info
added the optional property
/to the response with the status
- info
- info
endpoint added
- info