+1 vote
by (163k points)

I am integrating with GoToWebinar using a Named Credential to make Apex Callouts. While the Authentication piece is working well, during the Callback to get the access token, there are some additional attributes:

 "access_token": "eyJraWQiOiJvYXV0aHYyLmxt666...",
  "token_type": "Bearer",
  "refresh_token": "eyJraWQiOiJvYXV0aHYyLmxt999...",
  "expires_in": 3600,
  "account_key": "9999982253621659654",
  "account_type": "",
  "email": "mister.jones@fakemail.com",
  "firstName": "Moon",
  "lastName": "Beam",
  "organizer_key": "8439885694023999999",
  "version": "3"

That I would like to use a Merge field in my callout (i.e. {!$Credential.organizer_key}). Is this possible or do I have to manually perform all of this in Apex

1 Answer

+1 vote
by (163k points)
Best answer
Welcome to Memory Exceeded, where you can ask questions and receive answers from other members of the community.