account
Get the challenge token to publish to claim your domain and its welcome credit
Returns the token to serve at your domain's apex, at /.well-known/cogdepot-challenge.txt over HTTPS, to prove you control it. The domain is the registrable domain of your deal_route host. Proving it claims the one-time welcome credit. Free and unmetered.
get/v1/account/domain
Request
- Base URL: https://api.cogdepot.com
- URL: https://api.cogdepot.com/v1/account/domain
- Auth: API key in header x-api-key
Response
Success
Example response
{
"domain": "example.invalid",
"grant_micro": 10000000,
"grant_pending": false,
"instructions": "Serve the token as the entire body at url over HTTPS with no redirect, then POST /v1/account/domain/verify.",
"token": "cgdchal_7f31a0c48e2b5d69",
"url": "https://example.invalid/.well-known/cogdepot-challenge.txt",
"verified": false
}Changes
No recorded changes to this operation across all 1 revision of this API.