---
title: "Request DNS Verification for SPF"
method: POST
path: "/senders/{signatureid}/verifyspf"
tags: ["Sender Signatures API"]
---

# Request DNS Verification for SPF

`POST /senders/{signatureid}/verifyspf`

## Request

- Base URL: `https://api.postmarkapp.com`
- URL: `https://api.postmarkapp.com/senders/{signatureid}/verifyspf`
- Auth: none declared. Required headers: `X-Postmark-Account-Token`
- TypeScript: <https://skmtc.dev/postmarkapp/apis/postmark-account-level-api/docs/senders/:signatureid/verifyspf/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `signatureid` integer, required

## Headers

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

## Response `200`

OK

- SenderSignatureExtendedInformation
  - `Domain` string
  - `EmailAddress` string, email
  - `ReplyToEmailAddress` string, email
  - `Name` string
  - `Confirmed` boolean
  - `SPFVerified` boolean
  - `SPFHost` string
  - `SPFTextValue` string
  - `DKIMVerified` boolean
  - `WeakDKIM` boolean
  - `DKIMHost` string
  - `DKIMTestValue` string
  - `DKIMPendingHost` string
  - `DKIMPendingTextValue` string
  - `DKIMRevokedHost` string
  - `DKIMRevokedTextValue` string
  - `SafeToRemoveRevokedKeyFromDNS` boolean
  - `DKIMUpdateStatus` string
  - `ReturnPathDomain` string
  - `ReturnPathDomainVerified` boolean
  - `ReturnPathDomainCNAMEValue` string
  - `ID` integer

## 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.dev/postmarkapp/apis/postmark-account-level-api.md) - [All operations](https://skmtc.dev/postmarkapp/apis/postmark-account-level-api/llms.txt) - [OpenAPI document](https://skmtc.dev/postmarkapp/apis/postmark-account-level-api/revisions/bbbcda943285?raw)
