Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Grantmaking
Access the Candid External Service in Apex

Access the Candid External Service in Apex

Design and test the automation that sends information from Salesforce to Candid.

Required Editions

Available in: Lightning Experience
Available in: Nonprofit Cloud for Grantmaking and Public Sector Solutions. View edition availability.

Here’s an example of invoking the External Service in Apex where sfdoId is the EIN of Salesforce.org.

final String sfdoEin ='26-2409769';

ExternalService.CandidCharityCheck service = new ExternalService.CandidCharityCheck();

ExternalService.CandidCharityCheck.charitycheckx5fv1_Request request =
new ExternalService.CandidCharityCheck.charitycheckx5fv1_Request();
request.ein = sfdoEin;

ExternalService.CandidCharityCheck.charitycheckx5fv1_Response response =
service.charitycheckx5fv1(request);
System.debug(response);

To create the automation, see Use Apex to Create a Callout to an External Service.

 
Loading
Salesforce Help | Article