Unable to retrieve organization members' email addresses via Admin API despite admin permissions

Hello,

I’m trying to retrieve email addresses for all members in our organization. I’m using the Organizations API (specifically the Users endpoint documented here: https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-group-users).

While I have an API key with admin permissions, the response only includes basic account information:

{
      "accountId": "1234:hjk8fdhjk-ggfsd-gfds-rewq-fgdsgjkkl;gfds",
      "accountType": "app",
      "accountStatus": "active",
      "statusInUserbase": true
}

To get additional user details, I attempted to use the User Management API’s Get Profile endpoint (https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-profile/#api-users-account-id-manage-profile-get) with the same API key. However, I received this error:

{
    "key": "forbidden",
    "context": "Error: Caller must be a verified org admin of targeted account or be the targeted account",
    "errorKey": "forbidden",
    "errorDetail": "Error: Caller must be a verified org admin of targeted account or be the targeted account"
}

Could you please help me understand:

  1. How can I retrieve user email addresses using these APIs?
  2. What additional permissions might I need, and how to get them?