---
title: "Get challenge token for a domain (returns plain text token)"
method: GET
path: "/domains/{domain}/challenge-token"
tags: ["Domains"]
---

# Get challenge token for a domain (returns plain text token)

`GET /domains/{domain}/challenge-token`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/domains/{domain}/challenge-token`
- Auth: HTTP bearer

## Path parameters

- `domain` string, required

## Response `200`

Challenge token retrieved successfully

## Other responses

- `401`: Unauthorized
- `404`: Challenge not found
- `500`: Internal server error

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
