---
search:
  tags:
    - Single sign-on
    - POST
seo:
  description: >-
    Requires organization:update. Kapten looks up… Reference for the POST
    /organizations/{organizationId}/sso/domains/{domain}/verify endpoint in the
    Auth API.
sidebar:
  label: Verify an email domain of the identity provider
  badge: POST
title: Verify an email domain of the identity provider
type: openapi-operation
---
Requires organization:update. Kapten looks up the domain's TXT record: 400 when it does not hold the expected value, 409 when another organization verified the domain first, 404 for a domain the connection does not have. Verifying a verified domain changes nothing.

`POST /organizations/{organizationId}/sso/domains/{domain}/verify`

**Responses**

- `200` — The connection, with the domain verified.
- `default` — The request failed.

Response example, 200:

```json
{
  "issuer": "string",
  "client_id": "string",
  "redirect_uri": "string",
  "domains": [
    {
      "domain": "string",
      "record_name": "string",
      "record_value": "string",
      "verified_at": "2019-08-24T14:15:22Z"
    }
  ],
  "enforced": true,
  "provisioning_role": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
```
