function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ales RemtaAles Remta 

Apex Webservice Callout static IP

I'm trying to figure out a way how to have my outbound API calls from Apex always come from the same IP address. The API I'm calling is out of my control and the provider is refusing to whitelist the whole Salesforce IP range. Instead they require me to provide a single IP or a single range of 255 addresses for them to whitelist. SSL certificate also has to be used.

Is there any way to achieve this from apex. Can you suggest a workaround on how to achieve this? Any help will be appreciated.
ShashankShashank (Salesforce Developers) 
Unfortunately, we cannot achieve this through apex. You may have to get the salesforce IPs whitelisted. Please see the recommendations here if you doo not wish to whitelist all salesforce IPs: https://help.salesforce.com/HTViewSolution?id=000003652&language=en_US&release=180.9
sony sonusony sonu
hi ales remta..is your problem solved?????????