• James Storer 1
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hello, I'm having an issue where I want to invoke an API however I can't use the Schema to input the API key. 

In example 7 of this help doc:

https://help.salesforce.com/s/articleView?id=sf.external_services_examples_openapi_3_0.htm&type=5

They show the ability to pass an API key via header. However in this doc:

https://help.salesforce.com/s/articleView?id=sf.enhanced_external_services_considerations.htm&type=5

It states that the "Authorization" header is set by the External Service and cannot be overridden by OpenAPI as in input parameter. How then can I create a named credential that sends the header:

"Authorization" : "Bearer (API KEY)"
Hello, I'm having an issue where I want to invoke an API however I can't use the Schema to input the API key. 

In example 7 of this help doc:

https://help.salesforce.com/s/articleView?id=sf.external_services_examples_openapi_3_0.htm&type=5

They show the ability to pass an API key via header. However in this doc:

https://help.salesforce.com/s/articleView?id=sf.enhanced_external_services_considerations.htm&type=5

It states that the "Authorization" header is set by the External Service and cannot be overridden by OpenAPI as in input parameter. How then can I create a named credential that sends the header:

"Authorization" : "Bearer (API KEY)"