@Akhil_Kulkarni
example:
client.request.post("https://helloworld.freshservice.com/api/tickets", {
headers: {
Authorization: "Basic <%= encode(iparam.username + \":\" + iparam.password) %>"
},
staticIP: true,
body: JSON.stringify({
status: 2,
priority: 1,
description: "Test",
subject: "<%= iparam.subjectPrefix %> Hello there",
email: "tom@outerspace.com"
})
});
IP Ranges
Here is the list of IPs you must whitelist when using Request APIs if IP whitelisting is enabled on the Freshservice support portal or you wish to whitelist requests from your app.
Region |
IPs |
United States |
18.233.117.211 and 35.168.222.30
|
Europe-Central |
18.197.138.225 and 52.57.69.21
|
India |
13.232.159.149 and 13.233.170.242
|
Australia |
13.211.182.225 and 52.63.187.64
|
please visit this page for more reference
Thanks