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
Pedro Garcia GPedro Garcia G 

Callback URL

Hi,

I'm building an application which connects with an external API (WebAdmit). One of these API function requests a callback URL to send a notification once the requested process is completed.

What is the safer way to build a URL to receive a notification from an external system?

Here is API documentation for this specific function:
https://liaison-intl.github.io/export_files.html

Thanks,
 
Abdul KhatriAbdul Khatri
Callback is just any url you can give for example link to any page or you can create a new page (.html). It is required since the process will run in the background and would like know where to send the response correctly
Pedro Garcia GPedro Garcia G
Thanks Abdul,
My concern is about security. What is the best way to implement a callback URL which could be accessed by anonymous?
Some process must be running once the URL receives a request such as a download the CSV, create/update Contact records, etc.
Abdul KhatriAbdul Khatri
Just used this callback URL for the reponse. It could be any simple HTML page like http://...../response.html etc. even if anonymous user try to access that page it receives a blank page. The other thing you can do that make that page internal, mean can only be access if you in the company network.or on a VPN. 

I am not sure if I am able to address your issue or not but I don't think you need to realy be worry about that.