Validate widget session token
POST
Validate widget session token
Headers
Response
Session token is valid
Last modified on July 17, 2026
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
InteraOne is open source — star or contribute on GitHub.
curl --request POST \
--url http://localhost:3002/api/v1/widget/auth/validate \
--header 'x-widget-token: <x-widget-token>'const options = {method: 'POST', headers: {'x-widget-token': '<x-widget-token>'}};
fetch('http://localhost:3002/api/v1/widget/auth/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/widget/auth/validate"
headers = {"x-widget-token": "<x-widget-token>"}
response = requests.post(url, headers=headers)
print(response.text)Session token is valid
curl --request POST \
--url http://localhost:3002/api/v1/widget/auth/validate \
--header 'x-widget-token: <x-widget-token>'const options = {method: 'POST', headers: {'x-widget-token': '<x-widget-token>'}};
fetch('http://localhost:3002/api/v1/widget/auth/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/widget/auth/validate"
headers = {"x-widget-token": "<x-widget-token>"}
response = requests.post(url, headers=headers)
print(response.text)