Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

OAuth Server-to-Server Access Token to Call Campaign Classic API

Avatar

Level 2

Hey all,

 

I am creating a web application (Node.js) that needs to call some API endpoints in Adobe Campaign Classic SOAP API v8.

I have created a project in the developer console and added an integration to our v8 stage instance (see screenshot below)

hamido41487803_0-1703075072080.png

 

I couldn't find in the documentation any resource that explains how to use the generated access token to call v8 SOAP API. All the examples that I found are using a username/password to generate a session token.

Can you help? maybe an article or a tutorial that I can follow?

 

Thank you

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @hamido41487803,

 

As per Adobe Campaign documentation for v8, the generated access token has to be passed in the "Authorization" header. It is also given in the example here:

https://experienceleague.adobe.com/docs/campaign/technotes-ac/tn-new/ims-migration.html?lang=en#ims-...

 

Use of sessiontoken will be deprecated from version 8.6 onwards, and the token based authentication is available from version 8.5.2 onwards.

 

Let us know if that helped.

 

Regards,

Ishan

View solution in original post

3 Replies

Avatar

Community Advisor

Hello @hamido41487803 ,
I humbly think that OAuth is not used with adobe campaign classic as it is used mostly for REST aplications. You need to generate session token as per your found examples with SOAP requests.

I have found this article about plan to migrate to OAuth
https://helpx.adobe.com/enterprise/kb/migrating-to-oauth-server-to-server-credentials.html

npm package perhaps might be useful:
https://opensource.adobe.com/acc-js-sdk/


Marcel

Avatar

Correct answer by
Community Advisor

Hi @hamido41487803,

 

As per Adobe Campaign documentation for v8, the generated access token has to be passed in the "Authorization" header. It is also given in the example here:

https://experienceleague.adobe.com/docs/campaign/technotes-ac/tn-new/ims-migration.html?lang=en#ims-...

 

Use of sessiontoken will be deprecated from version 8.6 onwards, and the token based authentication is available from version 8.5.2 onwards.

 

Let us know if that helped.

 

Regards,

Ishan

Avatar

Administrator

Hi @hamido41487803,

Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!



Sukrity Wadhwa