---
title: "Publish a DNS-01 challenge (acme-dns wire protocol)"
method: POST
path: "/acme/update"
---

# Publish a DNS-01 challenge (acme-dns wire protocol)

`POST /acme/update`

## Request

- Base URL: `https://dnsmint.com/api`
- URL: `https://dnsmint.com/api/acme/update`
- Auth: none required

Authenticated by X-Api-User/X-Api-Key headers from the registration blob. subdomain must equal the credential's username; txt is the 43-character challenge value. The two newest values per name are served. Credentials for released hostnames are rejected.

## Headers

- `X-Api-User` string, uuid, required
- `X-Api-Key` string, required

## Request body

- object
  - `subdomain` string, required
  - `txt` string, required

## Response `200`

Challenge published

- object
  - `txt` string

## Other responses

- `400`: Malformed challenge value
- `401`: Invalid acme-dns credentials
- `403`: Subdomain does not belong to this credential
- `429`: More than 20 challenge updates in a minute on this credential.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/dnsmint/apis/dnsmint-api.md) · [All operations](https://skmtc.dev/dnsmint/apis/dnsmint-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dnsmint/apis/dnsmint-api/revisions/98fb1f87725a?raw)
