# How to check a pass with /v1/siteverify

`POST /v1/siteverify` is the HTTP check for your own server. Send your site secret and the pass. The call spends one use. If the pass is good, you can handle the write. If the result is `timeout-or-duplicate`, the pass expired, was used up, or was sent again. Get a new one. Do not accept the write.

This is the same job as the Node middleware or `Protocol::verifyPass` in PHP, expressed as an HTTP call. The official agent-calls table also lists the MCP tool `verify_write_pass` for the site's own server, with `site`, `secret`, and `pass`. Do not expose the secret to a browser or to a public client. Keep it in the environment. The server docs say the secret should be at least 16 characters. Do not commit it.

On WordPress the issuer routes live under `/wp-json/attackfee/v1/`. Built-in forms are checked for you when the matching option is on. For a theme form, `attackfee_wp_verify_request` is the usual check. If the pass store is down, fail closed with 503.

People never pay money. The check does not read the form body.

## Where Attackfee fits

Use middleware or the PHP helper when you can. Use `/v1/siteverify` when your stack needs the HTTP API. See [How to check writes on your own server](/learn/concepts/how-to-check-writes-on-your-server), [Why checks run on your server](/learn/concepts/why-checks-run-on-your-server), and [agent calls](/docs/ask).

- [Attackfee](/)
- [Learn](/learn)
- [Concepts](/learn/concepts)
- [How to check a pass with /v1/siteverify](/learn/concepts/how-to-check-a-pass-with-siteverify)

## Related

- [How to check writes on your own server](/learn/concepts/how-to-check-writes-on-your-server)
- [Why checks run on your server](/learn/concepts/why-checks-run-on-your-server)
- [Two requests cannot share a pass use](/learn/concepts/two-requests-cannot-share-a-pass-use)
- [How to check passes in PHP](/learn/concepts/php-library)
- [How to run the Node server and Express middleware](/learn/concepts/node-server-and-express)
- [Agent calls](/docs/ask)
- [Server](/docs/server)

## Questions



### "Does siteverify spend a use?"

"Yes. POST /v1/siteverify spends one use. GET /v1/status does not."

### "What does timeout-or-duplicate mean?"

"The pass expired, was used up, or was sent again. Get a new pass."

### "Where does the secret come from?"

"Your issuer config. The secret should be at least 16 characters, kept in the environment, and never committed or printed into a page."

### "Is there an MCP tool for this?"

"Yes. verify_write_pass sends the site, the secret, and the pass. It is for the site's own server, not for a public client."
