Files
fizzy/docs/api/sections/account.md
T
Rob Zolkos 98b6bdcfb7 Document undocumented API endpoints (#2805)
* Document avatar removal API endpoint

* Document notification settings API endpoints

* Document access token list and delete API endpoints

* Document join code API endpoints

* Fix access token delete URL parameter name in docs
2026-04-07 15:56:43 -04:00

2.1 KiB

Account

GET /account/settings

Returns the current account.

Response:

{
  "id": "03f5v9zjvypwh0t0e2rfh0h7k",
  "name": "37signals",
  "cards_count": 5,
  "created_at": "2025-12-05T19:36:35.401Z",
  "auto_postpone_period_in_days": 30
}

The auto_postpone_period_in_days is the account-level default in days (e.g. 30). Cards are automatically moved to "Not Now" after this period of inactivity. Each board can override this with its own value.

GET /account/join_code

Returns the account's join code for inviting new users. The join code URL can be shared with people to let them join the account.

Response:

{
  "code": "abc123",
  "usage_count": 3,
  "usage_limit": 10,
  "url": "http://fizzy.localhost:3006/897362094/join/abc123",
  "active": true
}

A join code is active when usage_count is less than usage_limit.

PUT /account/join_code

Updates the join code's usage limit. Requires admin role.

Parameter Type Required Description
usage_limit integer Yes Maximum number of times the join code can be used

Request:

{
  "account_join_code": {
    "usage_limit": 10
  }
}

Response:

Returns 204 No Content on success.

DELETE /account/join_code

Resets the join code, generating a new one and invalidating the old code. Requires admin role.

Response:

Returns 204 No Content on success.

PUT /account/entropy

Updates the account-level default auto close period. Requires admin role.

Request:

{
  "entropy": {
    "auto_postpone_period_in_days": 30
  }
}

Response:

Returns the account object:

{
  "id": "03f5v9zjvypwh0t0e2rfh0h7k",
  "name": "37signals",
  "cards_count": 5,
  "created_at": "2025-12-05T19:36:35.401Z",
  "auto_postpone_period_in_days": 30
}

PUT /:account_slug/boards/:board_id/entropy

Updates the auto close period for a specific board. Requires board admin permission.

Request:

{
  "board": {
    "auto_postpone_period_in_days": 90
  }
}

Response:

Returns the board object.