# Verify the pending domain's DNS TXT record (owner)

Resolves the TXT challenge with a timeout. Resolver errors are cached at most a minute; TXT mismatches are not cached. Rate-limited per team. The verified domain is unique once this succeeds.

HTML: https://notify.belweave.ai/docs/api/postTeamsIdDomainVerify

Required scopes: `teams:write`

```http
POST /api/agent/teams/{id}/domain/verify
Authorization: Bearer ntf_your_token
```

## Operation schema

```json
{
  "summary": "Verify the pending domain's DNS TXT record (owner)",
  "description": "Resolves the TXT challenge with a timeout. Resolver errors are cached at most a minute; TXT mismatches are not cached. Rate-limited per team. The verified domain is unique once this succeeds.",
  "operationId": "postTeamsIdDomainVerify",
  "security": [
    {
      "bearer": [
        "teams:write"
      ]
    }
  ],
  "x-notify-scopes": [
    "teams:write"
  ],
  "parameters": [
    {
      "name": "id",
      "in": "path",
      "schema": {
        "type": "string"
      },
      "required": true
    }
  ],
  "responses": {
    "200": {
      "description": "Success",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "team": {
                "$ref": "#/components/schemas/Team"
              }
            },
            "required": [
              "team"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Invalid request",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "401": {
      "description": "Missing, unknown, revoked, or expired token",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "403": {
      "description": "The token lacks a required scope or the account lacks permission",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "404": {
      "description": "Not found for this account",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}
```

Resolve schema references against [OpenAPI](https://notify.belweave.ai/openapi.json).
