Expand my Community achievements bar.

Where to find API key whiltelisted at Adobe.io

Avatar

Level 2

In registration API reference, there is one API for creating a Webhook/Journal registration for given workspace. Here in header Parameters they added x-api-key which mentioned as API key whiltelisted at Adobe.io, we have already tried with JWT, client-ID & public key but it is giving as error api-key is not valid, Can anyone let us know where can i find this API key.

 

Reference:

https://developer.adobe.com/events/docs/api/#tag/Registrations/operation/createRegistration

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

7 Replies

Avatar

Level 4

Hi @rohandhakad API Key is usually the cliend ID. In order to access this API, you would need an integration with I/O Management API. 

Avatar

Level 2

Hi @SarahXu , we have already tried with I/O mangement API key, it shows invalid there, Anything else we can look for ?

 

Screenshot from 2023-04-12 10-27-02.png

Avatar

Employee

Hi @rohandhakad: I believe the org (1161908) against which you are trying to create a registration is a production org, whereas in your screenshot I can see that you are using https://api-stage.adobe.io, which represents stage environment.

Most probably that's why you are getting the api-key is invalid error. Can you please double check your request once and see if the issue goes away?

Avatar

Level 2

I have added custom event in stage environment, then also i am getting Api Key is invalid,check below screenshot for more clarification.

 

Screenshot from 2023-04-12 13-58-40.pngScreenshot from 2023-04-12 10-27-02.png

Avatar

Employee

Stage workspace does not correspond to staging environment. Please try your call with https://api.adobe.io/events as the base URL and it should work.

For posterity, I am listing down the different URLs per environment:

  1. API Management Facade Base URL
  2. Developer Console URL
    1. Stagehttps://developer-stage.adobe.com/console/
    2. Prodhttps://developer.adobe.com/console

Hope this helps!

Avatar

Employee

Please note that https://developer-stage.adobe.com/console/ is only available inside Adobe (on vpn), and not to external customers

Avatar

Level 2

Hi @rohandhakad ,

 

Did you manage to solve this? I am having the same trouble now.

 

Thanks!