Get 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
GET /sso-providers/{providerId}/domain-verification

Returns the verification state of the domain of an SSO provider, and the DNS TXT record to publish.

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

    OK

    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.

GET /sso-providers/{providerId}/domain-verification
curl \
 --request GET 'https://connect.century.tech/api/v1/sso-providers/school-example/domain-verification' \
 --header "x-api-key: $API_KEY"
Response examples (200)
{
  "domainVerification": {
    "domain": "school.example",
    "verified": false,
    "record": {
      "type": "TXT",
      "name": "_century-sso-verification.school.example",
      "value": "3f9a1c0b7d2e4f6a8b5c9d0e1f2a3b4c"
    }
  }
}