# Accept the terms of service

`POST https://console.advinservers.com/api/v1/client/account/setup/terms`

### Overview

Records acceptance of the current policies. Send `accepted` as true; other values return 422. The policy revision is selected by the panel. Returns setup progress with `terms_accepted` set to true. Repeating the request makes no further change.

### Permissions

Requires the account permission `account.update` (Change the account).

## Authorization

Send `Authorization: Bearer <token>` with the request. Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

## Body

Sent as `application/json`.

- `accepted` (any, required): The value of `accepted`. One of: `yes`, `on`, `1`, `1`, `true`, `true`.

## Response 200

The record, as a JSON object. There is no envelope.

- `required` (boolean, required): Whether this account is expected to go through setup at all.
- `complete` (boolean, required): The value of `complete`.
- `outstanding` (integer, required): The value of `outstanding`.
- `email_verified` (boolean, required): Whether the email address is verified, or null when that status is unavailable.
- `details_complete` (boolean, required): The value of `details_complete`.
- `terms_accepted` (boolean, required): The value of `terms_accepted`.
- `choosing_billing` (boolean, required): Whether this account, opened from the sign-up form, still has to choose how it pays.
- `can_verify_billing` (boolean, required): Whether this account is unverified and can verify now with a card or PayPal account: it skipped verification at setup, or was not approved and has waited long enough.
- `under_review` (boolean, required): Whether a card or PayPal check passed and the account is waiting to be approved.
- `verification_reapply_at` (string<date-time> | null, required): When an account that was not approved may verify again. Null unless it is still waiting.
- `denied_without_reapply` (boolean, required): Whether staff denied the account with no date to verify again.
- `can_verify_identity` (boolean, required): Whether the account may verify its identity with a photo ID now: staff denied it but offered that instead, or it would rather not wait for their review.

```json
{
  "required": true,
  "complete": true,
  "outstanding": 0,
  "email_verified": true,
  "details_complete": true,
  "terms_accepted": true,
  "choosing_billing": false,
  "can_verify_billing": false,
  "under_review": true,
  "verification_reapply_at": "2026-09-14T16:42:09.000000Z",
  "denied_without_reapply": true,
  "can_verify_identity": true
}
```

## Errors

- `401`: The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- `403`: Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- `422`: A field is missing or invalid, or the resource cannot accept this change in its current state. Check `message` for details. Field validation also includes an `errors` object keyed by field name.
- `429`: Too many requests. The `Retry-After` header says how many seconds to wait. Limits are per account, so several keys on one account share them.

## Example request

```bash
curl --request POST \
  --url 'https://console.advinservers.com/api/v1/client/account/setup/terms' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "accepted": true
}'
```
