Skip to content

Verified domains

View as Markdown

A verified domain tells Ligament that addresses like priya.raman@northwind-example.com belong to your workspace. You verify a domain by publishing a DNS TXT record. Until you do, the domain does nothing: claiming it alone routes no one to your workspace.

Verify a domain when you want any of these:

  • New people at the domain join your workspace when they first sign in or sign up, instead of getting a workspace of their own.
  • Your sign-in policy applies to everyone at the domain.
  • Email sent to an address at the domain can become tickets through Email intake.
  • You can connect single sign-on and SCIM for the domain. Both require it.

Only workspace admins can claim, verify and remove domains.

  1. Open Settings › Domains.

  2. Enter the Email domain, for example northwind-example.com, without @ or www.

  3. Under New members get, choose the role for people who join through this domain: Member (agent) or Viewer (end user). A domain can’t hand out the owner or admin role.

  4. Select Claim. The domain appears as Pending verification with the TXT record to publish.

  5. At your DNS provider, add the TXT record shown:

    Type Name Value
    TXT _ligament-verify.<domain> ligament-verify=<token>

    The token is different for every claim. Copy both lines from the settings page.

  6. Back in Ligament, select Verify. When Ligament finds the record, the badge changes to Verified.

Settings › Domains with northwind-example.com pending verification, with the TXT record Name and Value to publish

If the record isn’t there yet, nothing changes and Ligament tells you which record it looked for:

No TXT record "ligament-verify=f5366abface39fb58a4c9495eae23b86" found at _ligament-verify.northwind-example.com yet. DNS changes can take a while to appear.

DNS changes can take from a few minutes to a few hours to reach every resolver. Select Verify again later. You can leave the TXT record in place after verification.

Feature Effect once the domain is verified
Sign-up and first sign-in Someone with an address at the domain who signs up, or signs in for the first time with SSO or a magic link, joins your workspace with the domain’s role. They also get a person record if the People app is installed. Email and password sign-ups join after they confirm their address.
Sign-in policy The Allow password sign-in and Allow magic-link sign-in switches in Settings › Sign-in security › Policy apply to everyone signing in with an address at the domain, whichever workspace they belong to.
Inbound email Mail to any address at the domain that your mail provider forwards to Ligament is routed to your workspace by Settings › Email intake.
Single sign-on You can add an identity provider for the domain, and that provider may only sign in people at your verified domains. See Single sign-on.
SCIM Your identity provider can add people at the domain. Addresses at unverified domains are refused. See SCIM provisioning.

To change the role new people get, claim the same domain again with a different role under New members get. This only affects people who join from then on; change existing members in Admin › Members.

A verified domain also lets you create an invite link that only people at the domain can use, for example to bring in colleagues who already have an account in another workspace. See Inviting people.

Several workspaces can hold a pending claim on the same domain, because a pending claim proves nothing. The first workspace to verify it owns it. After that, other workspaces can’t claim or verify the domain and see “That domain is already verified by another workspace”.

If your company runs several workspaces (for example a group and its subsidiaries), verify each domain in the workspace where new people should land.

Select the bin icon (Unclaim) on the domain’s row. From then on, people at the domain no longer join your workspace automatically, the sign-in policy no longer applies to them, and SSO and SCIM for the domain stop working. People who already joined stay members.

The same actions are available to an API key with the sso:write scope; listing needs settings:read.

Action Request
List claims and their TXT records GET /api/domains
Claim POST /api/domains with {"domain": "northwind-example.com", "defaultRole": "member"}
Verify POST /api/domains/verify with {"id": "<claim id>"}
Remove DELETE /api/domains?id=<claim id>
Terminal window
curl -s -X POST "https://app.ligament.ai/api/domains" \
-H "authorization: Bearer $LIGAMENT_API_KEY" \
-H 'content-type: application/json' \
-d '{"domain": "northwind-example.com", "defaultRole": "member"}'
{
"domain": {
"id": "cmx6alxti00bz6x6smslbpf2n",
"workspaceId": "cmx1vqasf0038emmiqvf4d7u9",
"domain": "northwind-example.com",
"defaultRole": "member",
"verificationToken": "f5366abface39fb58a4c9495eae23b86",
"verifiedAt": null,
"createdAt": "2026-12-02T15:40:44.022Z"
}
}

GET /api/domains adds a txtRecord object with the name and value to publish. The verification token and the TXT record are secrets until the domain is verified, so only a key with sso:write or settings:write (or a signed-in admin) sees them. A key with only settings:read gets every claim with "verificationToken": null, "txtRecord": null and "tokenRedacted": true. A claim with "defaultRole": "admin" fails with 422. See Domains in the API reference.