List the claims on this account
const options = {method: 'GET'};
fetch('https://ownsi.dev/api/claims/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://ownsi.dev/api/claims/{
"claims": [
{
"id": "<string>",
"domainId": "<string>",
"domain": "<string>",
"unicodeDomain": "<string>",
"state": "pending",
"token": "<string>",
"records": [
{
"host": "<string>",
"name": "<string>",
"type": "TXT",
"value": "<string>"
}
],
"verificationId": "<string>",
"expiresAt": "<string>",
"endedAt": "<string>",
"createdAt": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}List the claims on this account
Newest first, every state included — a claim is never deleted, so the list is the account’s history. Narrow it to one domain with domainId.
GET
/
api
/
claims
/
List the claims on this account
const options = {method: 'GET'};
fetch('https://ownsi.dev/api/claims/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://ownsi.dev/api/claims/{
"claims": [
{
"id": "<string>",
"domainId": "<string>",
"domain": "<string>",
"unicodeDomain": "<string>",
"state": "pending",
"token": "<string>",
"records": [
{
"host": "<string>",
"name": "<string>",
"type": "TXT",
"value": "<string>"
}
],
"verificationId": "<string>",
"expiresAt": "<string>",
"endedAt": "<string>",
"createdAt": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}