---
title: "Accept the exchange-diary terms"
method: POST
path: "/exchange/consent"
tags: ["Exchange"]
---

# Accept the exchange-diary terms

`POST /exchange/consent`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/exchange/consent`
- Auth: HTTP bearer

From the account's own session only (EXCHANGE_ACCOUNT_REQUIRED otherwise), with a verified phone number (EXCHANGE_PHONE_REQUIRED otherwise). `termsVersion` must be the current version (EXCHANGE_CONSENT_REQUIRED otherwise) and `adult` must be true: exchange diaries are for people aged 18 and over.

## Request body

- ExchangeConsentRequest
  - `termsVersion` string, required
  - `adult` true, required

## Response `200`

OK

- object
  - `data` ExchangeConsent, required
    - `state` 'none' | 'current' | 'outdated', required
    - `termsVersion` string, required
    - `acceptedVersion` string, nullable, required
    - `consentedAt` string, nullable, required
    - `adultSelfDeclared` boolean, required
    - `ageVerified` boolean, required
    - `eligible` boolean, required
  - `meta` object, required
    - `requestId` string, required

## Changes

- **2026-10-20** `5babd76752f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/whatareyoudo/apis/whatcha-api/changes/exchange/consent/post.md)

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
