You are here:
Use Custom Headers with Credentials
Add custom headers to external credentials to cover more use cases and security requirements. With custom headers, you can set your own parameters for authentication.

Use more general search terms.
Select fewer filters to broaden your search.
Add custom headers to external credentials to cover more use cases and security requirements. With custom headers, you can set your own parameters for authentication.
| Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: all editions |
Custom headers are a way for a remote system to define parameters it needs as input to respond to a request. Using a custom header is similar to having a function in a piece of code and defining input parameters or arguments that allow the caller to provide input.
You can add custom headers to named credentials and external credentials. In most cases, it’s best to associate headers with the external credential, rather than the named credential, because external credentials are meant to encapsulate authentication details. For example, define custom authorization headers in an external credential to use consistent authentication across all named credential endpoints using the same external credential.

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.