Expand my Community achievements bar.

Using Postman to make AA API requests (multiple companies issue during generate token process)

Avatar

Level 1

Field DescriptionWhat product are you using?What area of the product are you using?What are you trying to achieve?What’s the problem or error?What have you tried so far?Environment / VersionScreenshots / Videos / Logs / Code

Adobe Analytics
API 2.0
make API 2.0 requests using Postman
denied access
token generation / 
 
 

 

I am attempting to follow the steps at this URL (with helpful video)

Using Postman to Make Adobe Analytics 2.0 API Requests | Adobe Analytics

 

My issue is that my Adobe ID has multiple companies attached. When get to the part to generate a token, I am taken to a screen to authenticate my Adobe login credentials and that's OK. I am then taken to a screen where I select the Company and there the process laid out in the video drops dead - no token is generated and an error Denied or Unauthorized comes in the console (browser or Postman client).   

2 Replies

Avatar

Community Advisor

Hi @MitchellTe1 ,

You're absolutely right to follow the Adobe Experience League Postman + Adobe Analytics API guide, but the issue you're facing with multiple companies during OAuth token generation is a known and frustrating limitation in some cases.

Use Adobe Developer Console JWT Integration Instead

This is the most stable method for multi-org setups.

Steps:

  1. Go to Adobe Developer Console

  2. Create a new JWT credential project for Adobe Analytics API

  3. Choose the correct Organization (Org ID) when creating the integration

  4. Download the private key + JSON config

  5. Use Postman or a script to exchange for a token with this payload.

Adobe Docs: JWT Authentication

Use the Right Org in Postman Header After Token Is Generated

Even if you manage to get a token via OAuth flow, you must pass the correct company ID (IMS Org ID) in the header of every request:

x-proxy-global-company-id: your_company_id

To find this:

  • Go to Adobe Analytics UI → Admin → Company Settings

  • Or use API call to /companies once token is working

Run the OAuth flow in Incognito browser and pre-select org

Sometimes Adobe gets confused with stored sessions. Try:

  • Run OAuth callback URL in Incognito browser

  • Select your org → Adobe redirects back → manually copy the code from URL

  • Paste the code  into Postman → exchange for access token

Alternative: Use Service Account (JWT) or API key-based auth

If this is system-to-system access, the JWT auth method (client credentials) is more stable.

Avoid using OAuth flows with multi-org users for backend/API tasks unless you're doing user-level scoped tasks.

Avatar

Employee Advisor

Hey @MitchellTe1 The video link is bit outdated. Can you try https://developer.adobe.com/analytics-apis/docs/2.0/guides/ or https://developer.adobe.com/analytics-apis/docs/2.0/guides/use-cases/postman/ instead. If still an issue, please log a support ticket and we can take a further look.