# List claims

Every domain this session has claimed, with where each one stands.

GET `/api/v1/claims`

**cURL**

```shell
curl 'https://www.prufy.dev/api/v1/claims' \
  -b cookies.txt
```

**Node.js**

```javascript
// `cookie` is the session cookie that Create a claim returned.
const response = await fetch("https://www.prufy.dev/api/v1/claims", {
  headers: { cookie },
})
const data = await response.json()
```

**Python**

```python
import requests

# `session` is the requests.Session() that created the claim.
response = session.get("https://www.prufy.dev/api/v1/claims")
data = response.json()
```

Response 200 OK

```json
{
  "claims": [
    {
      "id": "clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10",
      "domainAscii": "yourcompany.com",
      "domainUnicode": "yourcompany.com",
      "status": "pending",
      "phase": "add_record",
      "headline": "Add this record at Namecheap",
      "lastCheckedAt": null,
      "nextCheckAt": "2026-11-10T09:30:30.000Z"
    }
  ]
}
```

A request with no session gets an empty list, not an error: a visitor who hasn't claimed anything simply has no domains yet.

## Authentication

Works with or without the session cookie. Without it there's less to return. [How sessions work](https://www.prufy.dev/docs/authentication.md).

## Response

`200 OK`, with every field below present. Times are ISO 8601 strings in UTC.

- `claims` array of objects

  Your claims, newest first.

  - `id` string

    The claim's id.
  - `domainAscii` string

    The domain as DNS stores it.
  - `domainUnicode` string

    The domain as a person reads it.
  - `status` string

    The stored status, like `pending` or `verified`.
  - `phase` string

    Where the claim is right now. The same values as `view.phase`.
  - `headline` string

    One line that says where things stand.
  - `lastCheckedAt` string | null

    When the last check finished, if one has.
  - `nextCheckAt` string | null

    When we'll look next on our own. Null when nothing is scheduled.

## Errors

Nothing specific to this route.

Any route can also answer `500` with `internal_error`. Every error has the same shape, described in [Errors](https://www.prufy.dev/docs/errors.md).

---

Every page of these docs, as a list: https://www.prufy.dev/llms.txt
