---
title: "Verify an SSO connection's domains"
method: POST
path: "/v1/sso/connections/{connectionId}/verify-domain"
tags: ["SSO"]
---

# Verify an SSO connection's domains

`POST /v1/sso/connections/{connectionId}/verify-domain`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/sso/connections/{connectionId}/verify-domain`
- Auth: HTTP bearer

Checks the DNS TXT record of every domain one SSO connection by id lists and marks them verified when all carry its current verification value. Otherwise answers 409 with what was found for each domain, or with a new value when the last one expired.

## Path parameters

- `connectionId` string, required

## Response `204`

Organization SSO domain verified

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `402`: SSO management requires a Team or Enterprise plan.
- `403`: The caller needs the Manage single sign-on permission and a recent sign-in.
- `404`: The connection does not exist in this organization.
- `409`: The domains are not verified yet.
- `429`: Too many verification attempts; Retry-After says when to try again.

## Changes

- **2026-11-30** `482431db26bd`: 2 info
  - added the non-success response with the status `409`
  - added the non-success response with the status `429`
- **2026-11-06** `133d32d0939a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/sso/connections/:connectionId/verify-domain/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
