---
updatedAt: 2026-09-03T17:44:17.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/platform-api/llms.txt
---

# Verify Domain

Checks the domain's DNS records for the TXT record matching its `verificationKey` and returns the domain with the outcome in `domainStatus`: `VERIFIED` when the record was found, and the previous status when it was not. A failed check is not an error response — inspect `domainStatus`.

DNS propagation is not instant, so a check that runs immediately after the record is published can legitimately fail. Verification is rate limited to once every five minutes, except for the first attempt on a newly added domain; an attempt inside that window is rejected with `400`.

The request has no body. A domain another organization has already verified is rejected with `409`.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Jamf Account SSO API",
    "description": "Verified domains and identity provider connections for single sign-on to Jamf products",
    "version": "1.0.0",
    "termsOfService": "https://www.jamf.com/developer-resources/api-license-agreement/",
    "contact": {
      "name": "Jamf Developer",
      "url": "https://developer.jamf.com"
    }
  },
  "tags": [
    {
      "name": "domains",
      "description": "Operations for the domains claimed by the organization resolved from the access token, including verifying them and reading which connections a domain is currently assigned to."
    }
  ],
  "paths": {
    "/v1/domains/{domainId}/actions/verify": {
      "post": {
        "tags": [
          "domains"
        ],
        "operationId": "verifyDomain",
        "summary": "Verify Domain",
        "description": "Checks the domain's DNS records for the TXT record matching its `verificationKey` and returns the domain with the outcome in `domainStatus`: `VERIFIED` when the record was found, and the previous status when it was not. A failed check is not an error response — inspect `domainStatus`.\n\nDNS propagation is not instant, so a check that runs immediately after the record is published can legitimately fail. Verification is rate limited to once every five minutes, except for the first attempt on a newly added domain; an attempt inside that window is rejected with `400`.\n\nThe request has no body. A domain another organization has already verified is rejected with `409`.",
        "parameters": [
          {
            "$ref": "#/components/parameters/domainId"
          }
        ],
        "responses": {
          "200": {
            "description": "The domain, with `domainStatus` reflecting the outcome of the check.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Domain"
                },
                "example": {
                  "id": "4812",
                  "createdByName": null,
                  "accountId": "0013600001AbCdEfGhI",
                  "domain": "example.com",
                  "verificationKey": "hK7fQ2mZ9pR4tX1wYb3cVg",
                  "domainStatus": "VERIFIED",
                  "createdDate": "2026-05-04T14:22:31Z",
                  "lastModifiedDate": "2026-05-04T14:31:08Z",
                  "lastVerificationDate": "2026-05-04T14:31:08Z",
                  "verificationExpirationDate": "2026-05-18T14:31:08Z",
                  "sharedDomain": false,
                  "verifiedTldId": null
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/VerificationBadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/DomainForbidden"
          },
          "404": {
            "$ref": "#/components/responses/DomainNotFound"
          },
          "409": {
            "$ref": "#/components/responses/DomainConflict"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        },
        "x-action": true,
        "security": [
          {
            "OAuth2ClientCredentials": []
          }
        ]
      }
    }
  },
  "components": {
    "parameters": {
      "domainId": {
        "name": "domainId",
        "in": "path",
        "required": true,
        "description": "Jamf-assigned identifier of the domain, as returned in the `id` field of a domain. Treat it as an opaque string: it is currently a decimal number, and a value that is not one is rejected with `400`.",
        "schema": {
          "type": "string",
          "pattern": "^[0-9]{1,10}$",
          "minLength": 1,
          "maxLength": 10,
          "example": "4812"
        }
      }
    },
    "responses": {
      "VerificationBadRequest": {
        "description": "Bad Request. A verification attempt was made inside the five-minute rate limit window — wait and try again — or `domainId` is not a valid domain identifier.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 400,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "BAD_REQUEST",
                  "field": null,
                  "description": "Can only verify once every five minutes"
                }
              ]
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized. The access token is missing, invalid, or expired. The API Gateway rejects the request before it reaches the service.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 401,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "UNAUTHORIZED",
                  "field": null,
                  "description": "The access token is missing, invalid, or expired."
                }
              ]
            }
          }
        }
      },
      "DomainForbidden": {
        "description": "Forbidden. The domain belongs to a different organization, or it is shared to this organization but cannot be changed by it.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 403,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "FORBIDDEN",
                  "field": null,
                  "description": "Unable to edit domain"
                }
              ]
            }
          }
        }
      },
      "DomainNotFound": {
        "description": "Not Found. No such domain exists for this organization.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 404,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "NOT_FOUND",
                  "field": null,
                  "description": "Domain not found"
                }
              ]
            }
          }
        }
      },
      "DomainConflict": {
        "description": "Conflict. The domain is already claimed by this organization, or it has already been verified by a different organization. A domain can only be verified by one organization at a time.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 409,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "CONFLICT",
                  "field": null,
                  "description": "Domain is already verified"
                }
              ]
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal Server Error. The organization in the token could not be resolved, or an upstream dependency failed. The `description` is deliberately generic; quote `traceId` when reporting the failure.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            },
            "example": {
              "httpStatus": 500,
              "traceId": "80f198ee56343ba864fe8b2a57d3eff7",
              "errors": [
                {
                  "code": "INTERNAL_ERROR",
                  "field": null,
                  "description": "The request could not be completed"
                }
              ]
            }
          }
        }
      }
    },
    "schemas": {
      "Domain": {
        "type": "object",
        "description": "A DNS domain claimed by an organization, and the state of its ownership verification.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Jamf-assigned identifier of the domain. Use it to verify or delete the domain. Treat it as an opaque string, even though it is currently a decimal number.",
            "example": "4812"
          },
          "createdByName": {
            "type": "string",
            "nullable": true,
            "description": "Name of the Jamf Account user who added the domain. Null when the domain was added over this API, which has no user.",
            "example": "Alex Rivera"
          },
          "accountId": {
            "type": "string",
            "description": "Salesforce account the domain belongs to. For a shared domain this is the owning organization's account, not the caller's.",
            "example": "0013600001AbCdEfGhI"
          },
          "domain": {
            "type": "string",
            "description": "The DNS domain, lower-cased.",
            "example": "example.com"
          },
          "verificationKey": {
            "type": "string",
            "description": "Value to publish as a TXT record on the domain to prove ownership. Reissued if the domain is deleted and claimed again.",
            "example": "hK7fQ2mZ9pR4tX1wYb3cVg"
          },
          "domainStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DomainStatus"
              }
            ],
            "example": "VERIFIED",
            "description": "Current verification status of the domain."
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "description": "When the domain was claimed.",
            "example": "2026-05-04T14:22:31Z"
          },
          "lastModifiedDate": {
            "type": "string",
            "format": "date-time",
            "description": "When the domain last changed. Also the point the five-minute verification rate limit is measured from.",
            "example": "2026-05-04T14:31:08Z"
          },
          "lastVerificationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "When ownership was last successfully verified. Null for a domain that has never verified.",
            "example": "2026-05-04T14:31:08Z"
          },
          "verificationExpirationDate": {
            "type": "string",
            "format": "date-time",
            "description": "When the current verification lapses, being 14 days after the last successful verification, or after the domain was claimed if it has never verified. Jamf will attempt to automatically reverify the domain on this date.",
            "example": "2026-05-18T14:31:08Z"
          },
          "sharedDomain": {
            "type": "boolean",
            "description": "Whether the domain is owned by another organization and shared with this one. A shared domain can be assigned to a connection but not changed or deleted.",
            "example": false
          },
          "verifiedTldId": {
            "type": "string",
            "nullable": true,
            "description": "Identifier of the verified parent domain this subdomain inherits its verification from, in the same form as `id`. Null for a domain verified in its own right.",
            "example": "4812"
          }
        }
      },
      "DomainStatus": {
        "type": "string",
        "description": "Verification status of a domain. `PENDING` is awaiting its first successful check. `VERIFIED` has current, valid verification. `UNVERIFIED` verified at some point but its most recent check failed, and it stays claimed and assignable. `MANUALLY_VERIFIED` and `MS_VERIFIED` were verified by Jamf or by Microsoft rather than by a DNS record, and behave as verified.",
        "enum": [
          "PENDING",
          "VERIFIED",
          "UNVERIFIED",
          "MANUALLY_VERIFIED",
          "MS_VERIFIED"
        ],
        "example": "VERIFIED"
      },
      "ApiError": {
        "type": "object",
        "description": "Standard Jamf error response body, returned for every non-2xx response raised by the service.",
        "required": [
          "httpStatus",
          "errors"
        ],
        "properties": {
          "httpStatus": {
            "type": "integer",
            "description": "HTTP status code of the response.",
            "example": 400
          },
          "traceId": {
            "type": "string",
            "nullable": true,
            "description": "Trace identifier correlating the response with Jamf server-side logs. Quote it when reporting a failure. Null when the request carried no active trace.",
            "example": "80f198ee56343ba864fe8b2a57d3eff7"
          },
          "errors": {
            "type": "array",
            "description": "Every problem found with the request. Always holds at least one entry.",
            "items": {
              "$ref": "#/components/schemas/ApiErrorItem"
            }
          }
        }
      },
      "ApiErrorItem": {
        "type": "object",
        "description": "A single problem with the request.",
        "required": [
          "code",
          "description"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Machine-readable, stable classification of the problem. Values used by this API include `MALFORMED_REQUEST_BODY`, `FIELD_VALIDATION`, `BAD_REQUEST`, `UNAUTHORIZED`, `FORBIDDEN`, `NOT_FOUND`, `CONFLICT`, and `INTERNAL_ERROR`. Prefer this over matching on `description`.",
            "example": "FIELD_VALIDATION"
          },
          "field": {
            "type": "string",
            "nullable": true,
            "description": "Request field the problem relates to, in dotted notation for a nested field. Null when the problem is not about one field.",
            "example": "domain"
          },
          "description": {
            "type": "string",
            "description": "Human-readable explanation, for troubleshooting rather than display to an end user. Generic for server-side failures, which are correlated through `traceId` instead.",
            "example": "must not be blank"
          }
        }
      }
    },
    "securitySchemes": {
      "OAuth2ClientCredentials": {
        "type": "oauth2",
        "description": "Obtain an access token by calling the API Gateway's token endpoint using the OAuth2 client-credentials flow.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{region}.api.jamfcloud.com/auth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://{region}.api.jamfcloud.com/sso",
      "description": "Jamf Production API Gateway",
      "variables": {
        "region": {
          "default": "us",
          "enum": [
            "us"
          ],
          "description": "Select the regional gateway"
        }
      }
    }
  ],
  "security": [
    {
      "OAuth2ClientCredentials": []
    }
  ]
}
```