---
title: "Get the stable _obelisk-agent TXT record that proves domain control for this agent. Publish it, then dns-verify."
method: POST
path: "/auth/agents/proof/dns-challenge"
tags: ["agent_identity"]
---

# Get the stable _obelisk-agent TXT record that proves domain control for this agent. Publish it, then dns-verify.

`POST /auth/agents/proof/dns-challenge`

## Request

- Base URL: `https://obeliskgate.com`
- URL: `https://obeliskgate.com/auth/agents/proof/dns-challenge`
- Auth: API key in cookie `obelisk_session`

## Request body

- object
  - `agent_id` unknown
  - `domain` unknown

## Response `200`

Success.

## Other responses

- `default`: Error — { ok:false, reason:<code>, message?:<human> } on failures; HTTP status mirrors it.

---

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