Activity › Forums › Salesforce® Discussions › API calls from lightning component in Salesforce? Salesforce® Discussions API calls from lightning component in Salesforce? Posted by Anuj on April 28, 2020 at 1:43 PM How can we make API calls from lightning component. Udit replied 6 years, 1 month ago 2 Members · 1 Reply 1 Reply Udit Member April 28, 2020 at 3:05 PM As we know Lightning is client-side so we can not make API calls from Lightning. In order to do so we have to add a Content Security Policy(CSP) trusted site to load assets and make API calls to that domain. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me