Skip to content
POST /sso-connection/{id}/domains/{domain}/verify

Path Parameters

idstring · uuid
required·

The ID of the SSO connection the domain belongs to.

Example: 1ba1f401-7183-47c5-9e39-e8e257e3c795
domainstring
required·

The email domain to verify.

Example: example.com

Response Body

detailstring

Present only when verification did not pass; explains why.

Example: Expected TXT record "truto-domain-verification=..." was not found on example.com.
domainstring
Example: example.com
verifiedboolean
Example: true
curl -X POST 'https://api.truto.one/sso-connection/{id}/domains/{domain}/verify' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/sso-connection/{id}/domains/{domain}/verify', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/sso-connection/{id}/domains/{domain}/verify"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.post(url, headers=headers, params=params)
print(response.json())