---
title: "Confirm that a toilet is still there"
method: POST
path: "/api/v1/toilets/{id}/confirmations"
---

# Confirm that a toilet is still there

`POST /api/v1/toilets/{id}/confirmations`

## Request

- Base URL: `https://wcway.com`
- URL: `https://wcway.com/api/v1/toilets/{id}/confirmations`
- Auth: none required

For the web page of this site only. It needs a Turnstile token unless an account is signed in. One confirmation per toilet and address per day. The answer holds the time of the confirmation and the count of confirmations in the last 12 months.

## Path parameters

- `id` string, required

## Request body

- object
  - `turnstile_token` string: Cloudflare Turnstile token from the page of this site. A signed-in account needs none.

## Response `201`

The confirmation is saved.

- object
  - `id` string, required
  - `last_confirmed_at` string, date-time, required
  - `confirmations` integer, required

## Other responses

- `400`: The body is invalid.
- `403`: The request came from another origin, or the Turnstile check failed.
- `404`: No toilet has this id.
- `429`: Rate limit reached. Wait Retry-After seconds.
- `503`: Contributions are off.

---

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