Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dorian-davis/00fffe4d19b1ee606240e7cb0d4b9342 to your computer and use it in GitHub Desktop.
Save dorian-davis/00fffe4d19b1ee606240e7cb0d4b9342 to your computer and use it in GitHub Desktop.
Connect to Intercom API via Salesforce Callout (Apex)
String username = 'xxxxxx'; //app id
String password = 'yyyyyy'; //api key
Blob headerValue = Blob.valueOf(username + ':' + password);
String authorizationHeader = 'Basic ' + EncodingUtil.base64Encode(headerValue);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment