Check SSO Provider Domain Verification

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.connect.century.tech/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Connect API MCP server": {
    "url": "https://docs.connect.century.tech/mcp"
  }
}

Close
POST /sso-providers/{providerId}/domain-verification/check

Look for the DNS TXT record of an SSO provider. When the record is found, the domain becomes verified and the provider can be used for sign-in. A check on a verified domain changes nothing, so it is safe to do the check again.

Path parameters

  • providerId string Required

    SSO provider ID. CENTURY makes it from the domain of the provider, and it does not change. It has lower case letters, digits and single hyphens only.

    Maximum length is 227. Format should match the following pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$.

Responses

  • 200 application/json

    The domain is verified.

    Hide response attribute Show response attribute object
    • domainVerification object Required
      Hide domainVerification attributes Show domainVerification attributes object
      • domain string Required

        The email domain of the provider.

      • verified boolean Required

        Whether the domain is verified.

      • verifiedAt string(date-time)

        The date and time when the domain was verified. Present only when the domain is verified.

      • method string

        How the domain was verified: dns by the DNS record, operator by CENTURY support.

        Values are dns or operator.

      • record object

        The DNS record to publish. It stays the same while the provider exists, and you can remove it after the domain is verified.

        Hide record attributes Show record attributes object
        • type string Required

          The DNS record type.

          Value is TXT.

        • name string Required

          The DNS record name.

        • value string Required

          The DNS record value. Publish this value only, with no prefix. Upper case and lower case are different.

  • 401

    Invalid authentication credentials

  • 403

    Not authorised to access this resource

  • 404

    SSO provider not found.

  • 422

    Domain verification record not found. Make sure that the record has the correct name and value, then do the check again.

  • 502

    Domain verification lookup failed. This is not a problem with the record. Do the check again later.

POST /sso-providers/{providerId}/domain-verification/check
curl \
 --request POST 'https://connect.century.tech/api/v1/sso-providers/school-example/domain-verification/check' \
 --header "x-api-key: $API_KEY"
Response examples (200)
{
  "domainVerification": {
    "domain": "school.example",
    "verified": true,
    "verifiedAt": "2026-11-24T10:15:00.000Z",
    "method": "dns",
    "record": {
      "type": "TXT",
      "name": "_century-sso-verification.school.example",
      "value": "3f9a1c0b7d2e4f6a8b5c9d0e1f2a3b4c"
    }
  }
}