thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Business Platforms & EA · Intermediate

Named Credential

Setup definition of a callout endpoint URL paired with an external credential, so Apex and flows can call it without handling secrets.

Definition

Named credentials store the endpoint and reference an external credential holding authentication (OAuth, JWT, basic, custom headers). Callouts use callout:Name in the URL, and remote site settings are not required.

Example

req.setEndpoint('callout:Payment_API/v1/charges');

Exam tip

Named credentials avoid hard-coded credentials and remove the need for a Remote Site Setting.

Related terms