Notification Webhooks
API
/itemlistingrequestupdatenotification
1 min
code examples curl location 'https //endpoint yourdomain com/itemlistingrequestupdatenotification' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data raw '{ "timestamp" "1415287568", "type" "item listing request update", "accountid" "e520 ba9a 367 60b", "eventid" "r48987fgdse0r", "correlationid" "2356fdse0rr489", "merchantaction" "release", "triggeredby" "john s\@test com", "agentcomments" "customer seems legit", "linktoeventinforterdashboard" "https //portal forter com/touchpoint/2356fdse0rr489" }'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "timestamp" "1415287568", "type" "item listing request update", "accountid" "e520 ba9a 367 60b", "eventid" "r48987fgdse0r", "correlationid" "2356fdse0rr489", "merchantaction" "release", "triggeredby" "john s\@test com", "agentcomments" "customer seems legit", "linktoeventinforterdashboard" "https //portal forter com/touchpoint/2356fdse0rr489" }); var requestoptions = { method 'post', headers myheaders, body raw, redirect 'follow' }; fetch("https //endpoint yourdomain com/itemlistingrequestupdatenotification", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //endpoint yourdomain com/itemlistingrequestupdatenotification") https = net http new(url host, url port) https use ssl = true request = net http post new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" request body = json dump({ "timestamp" "1415287568", "type" "item listing request update", "accountid" "e520 ba9a 367 60b", "eventid" "r48987fgdse0r", "correlationid" "2356fdse0rr489", "merchantaction" "release", "triggeredby" "john s\@test com", "agentcomments" "customer seems legit", "linktoeventinforterdashboard" "https //portal forter com/touchpoint/2356fdse0rr489" }) response = https request(request) puts response read body import requests import json url = "https //endpoint yourdomain com/itemlistingrequestupdatenotification" payload = json dumps({ "timestamp" "1415287568", "type" "item listing request update", "accountid" "e520 ba9a 367 60b", "eventid" "r48987fgdse0r", "correlationid" "2356fdse0rr489", "merchantaction" "release", "triggeredby" "john s\@test com", "agentcomments" "customer seems legit", "linktoeventinforterdashboard" "https //portal forter com/touchpoint/2356fdse0rr489" }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("post", url, headers=headers, data=payload) print(response text) responses