I would like to know how to get the URL for the API rest call,and also the ACCESS_TOKEN in salesforce marketing cloud

  • remember to mark the answers received, as being accepted. This will benefit the community when searching for relevant solutions. – Lukas Lunow Mar 31 '19 at 13:38

You should create a new installed package with a server-to-server api component.

This is how you do it:

  1. Go to Marketing Cloud | Administration | Installed Packages.
  2. Click New.
  3. Give the package a name and description.
  4. Select to create the package with enhanced functionality.
  5. Save the package.
  6. Under Components, click Add Component.
  7. Select API Integration. After you add an API integration component, it can’t be removed.
  8. Select Server-to-server integration type.
  9. Set the properties for the integration, including scopes - depending on the purpose of your integration.
  10. Save the component.

Now you have tenant specific endpoints and your Client ID and Secret. You can now use the new v2 token endpoint to get your access token.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.