Verify organization widget domain using DNS TXT record
POST
/
widget
/
verify-domain
Verify organization widget domain using DNS TXT record
curl --request POST \
--url http://localhost:3002/api/v1/widget/verify-domain \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3002/api/v1/widget/verify-domain', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/widget/verify-domain"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Domain verified successfully
Last modified on July 18, 2026
⌘I
Verify organization widget domain using DNS TXT record
curl --request POST \
--url http://localhost:3002/api/v1/widget/verify-domain \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3002/api/v1/widget/verify-domain', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/widget/verify-domain"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)