Endpoints Reference
Authentication
Verify authentication data provided by the platform
code examples curl location globoff '/v1/{siteenv}/{siteid}/authentication/verify' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data '{ "data" "" }'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify({ "data" "" }); var requestoptions = { method 'post', headers myheaders, body raw, redirect 'follow' }; fetch("/v1/{siteenv}/{siteid}/authentication/verify", 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("/v1/{siteenv}/{siteid}/authentication/verify") http = net http new(url host, url port); request = net http post new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" request body = json dump({ "data" "" }) response = http request(request) puts response read body import requests import json url = "/v1/{siteenv}/{siteid}/authentication/verify" payload = json dumps({ "data" "" }) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("post", url, headers=headers, data=payload) print(response text) responses // data is verified { "customer" { "external id" "cu1234" } }// error response