List Organization Email Domains
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/organizations/{org_id}/email-domains \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/organizations/{org_id}/email-domains"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/organizations/{org_id}/email-domains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"domain": "<string>",
"object": "email_domain",
"is_primary": false,
"created_at": "<string>"
}
],
"has_more": true,
"total": 123,
"object": "list"
}Organizations
List Organization Email Domains
List email domains for an organization.
GET
/
api
/
v1
/
organizations
/
{org_id}
/
email-domains
List Organization Email Domains
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/organizations/{org_id}/email-domains \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/organizations/{org_id}/email-domains"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/organizations/{org_id}/email-domains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"domain": "<string>",
"object": "email_domain",
"is_primary": false,
"created_at": "<string>"
}
],
"has_more": true,
"total": 123,
"object": "list"
}