Skip to main content
Solved

Email Opt Out-sync

  • January 5, 2026
  • 1 reply
  • 81 views

Generate a refresh token from Salesforce

About this task

Perform the following steps to generate a refresh token from Salesforce which is required in the configuration of the Email Opt-Out Sync. It is relevant for any clients using Salesforce as the external provider within this app.

Procedure

  1. Log in to Salesforce using your favorite browser.
  2. Enter the following request URL in a new tab to generate the code:

    https://<YOUR_INSTANCE>.salesforce.com/services/oauth2/authorize?response_type=code&client_id=<CONSUMER_KEY>&redirect_uri=<CALLBACK_URL>

    1. Replace <CONSUMER_KEY> and <CALLBACK_URL> with the obtained consumer key and callback URL.
    2. Replace <YOUR_INSTANCE> with your instance name.

when creating refresh token for email opt out while adjusting below URL
https://<YOUR_INSTANCE>.salesforce.com/services/oauth2/authorize?response_type=code&client_id=<CONSUMER_KEY>&redirect_uri=<CALLBACK_URL>

getting error message i.e.,

this page isn't working right now

Best answer by LMaddock

@Atul Thakur This is an issue our Support team can assist with. Please contact Support directly or reply to the email you received with this information, and they’ll be happy to help get everything set up properly.

1 reply

Forum|alt.badge.img+2
  • Community Manager
  • Answer
  • January 5, 2026

@Atul Thakur This is an issue our Support team can assist with. Please contact Support directly or reply to the email you received with this information, and they’ll be happy to help get everything set up properly.