acs-sdk
TypeScript icon, indicating that this package has built-in type declarations

4.4.0 • Public • Published

Unofficial Adobe Campaign Standard (ACS) API SDK

Build Coverage Status

All Contributors

Adobe Campaing Standard API Docs: https://docs.adobe.com/content/help/en/campaign-standard/using/working-with-apis/about-campaign-standard-apis/about-campaign-standard-apis.html

Example:

const { ACSHttpClient, JWTAuthorizer } = require("acs-sdk");

// authentication information https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/AuthenticationOverview/ServiceAccountIntegration.md
const authorizer = new JWTAuthorizer({
  adobeOrgId: "EF2D363--------CA@AdobeOrg",
  clientId: "bb11ebd6406a4f---------f705b26a",
  clientSecret: "8EDD3561-------5CDB@techacct.adobe.com",
  metascopes: ["ent_campaign_sdk"],
  privateKey: "-----BEGIN RSA PRIVATE KEY-----\n...",
  technicalAccountId: "8EDD3561-------5CDB@techacct.adobe.com"
});

// Organizational info: https://docs.adobe.com/content/help/en/campaign-standard/using/working-with-apis/about-campaign-standard-apis/setting-up-api-access.html
const client = new ACSHttpClient({ orgId: "acme", orgInstanceId: "acme-mkt-stage1" }, authorizer);

Supported operations:

NOTE: In order to have the profiles api you must check the Add access authorization management fields in the Profile extension, more details here

Contributors

Thanks goes to these wonderful people (emoji key):


Hudo Assenco

💻 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Package Sidebar

Install

npm i acs-sdk

Weekly Downloads

2

Version

4.4.0

License

MIT

Unpacked Size

55.3 kB

Total Files

9

Last publish

Collaborators

  • hudovisk