---
title: "Request DNS Verification for SPF"
method: POST
path: "/domains/{domainid}/verifyspf"
tags: ["Domains API"]
---

# Request DNS Verification for SPF

`POST /domains/{domainid}/verifyspf`

## Path parameters

- `domainid` integer, required

## Headers

- `X-Postmark-Account-Token` string, required

## Response `200`

OK

- DomainSPFResult
  - `SPFHost` string
  - `SPFVerified` boolean
  - `SPFTextValue` string

## Other responses

- `422` — An error was generated due to incorrect use of the API. See the Message associated with this response for more information.
- `500` — Indicates an internal server error occurred.

---

[API](https://skmtc.net/postmarkapp/apis/postmark-account-level-api.md) · [All operations](https://skmtc.net/postmarkapp/apis/postmark-account-level-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postmarkapp/postmark-account-level-api/revisions/bbbcda943285/schema)
