> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apostra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Account settings

> Which settings an Apostra account can configure, who can open each one, and how to ask which settings you can open with get_status.

An account's settings are the things you set once and rarely change: who is on the
account, its plan and billing, how people sign in, which tools it connects, and
how it is archived. Which of them you can open depends on the kind of account you
are working in and on your role in it. A person who is not an administrator sees
fewer settings than an administrator does.

## Ask which settings you can open

`get_status` returns a `settings` object with a `sections` list. It lists exactly
the settings the selected account and your session may open, in the order a
settings menu draws them. Read it before you point anyone at a setting.

```json theme={null}
{
  "settings": {
    "sections": [
      { "id": "team", "scope": "account" },
      { "id": "api-keys", "scope": "account" },
      { "id": "organization-billing-contract", "scope": "organization" }
    ]
  }
}
```

* **`id`** is a stable key for one setting. The keys are listed below.
* **`scope`** says what the setting configures. `account` means the account you
  are working in. `organization` means the organization that holds it. In an
  organization's own account there is no account of its own to configure, so
  every setting there has the scope `organization`.
* **A setting you cannot open is absent.** It is never listed and marked
  unavailable. Opening an absent setting is refused.
* **The list says nothing about what is inside a setting.** It carries no counts,
  state or next step. Read the setting itself for that, for example
  [`get` with `kind: "billing"`](https://docs.apostra.com/v3/billing-plan-and-invoices).
* **If the list cannot be worked out, `settings` is left out.** Treat that as "no
  settings offered" and ask again, rather than guessing.

## The settings

| Key | What it configures | Who can open it |
| - | - | - |
| `accounts` | Add, archive and restore accounts | The administrator of a standalone account |
| `organization-accounts` | The accounts an organization holds | An organization's administrators, and Apostra staff supporting the organization (read-only) |
| `billing` | The account's plan, payment terms and invoices | A person who administers the organization that bills the account, and Apostra staff supporting the account (read-only) |
| `organization-billing-contract` | The organization's plan and billing | An organization's administrators. A member of one of its accounts gets a short notice that the organization manages billing. |
| `team` | The people on the account | Every member of the account. An organization's administrators see `organization-members` instead, in the organization's own account. |
| `organization-members` | The people in an organization | An organization's administrators |
| `organization-domains` | The domains an organization claims | An organization's administrators in the organization's own account, and Apostra staff supporting it (read-only) |
| `organization-api-keys` | The organization's API keys | An organization's administrators in the organization's own account |
| `api-keys` | The account's API keys | Members of the account. An organization's administrators see `organization-api-keys` instead. |
| `account-config` | The account's own configuration | Administrators of the account |
| `sso` | Single sign-on for the account's domain | Every kind of account except an organization or a Developer account |
| `messaging-apps` | Slack, Teams, Discord and WhatsApp installs | Administrators of a Seller account. For any other kind of account, only the administrators of the account that Apostra distributes through. |
| `support` | How the account reaches Apostra support | Every account |
| `connections` | The sales agents a Buyer account connects to | Buyer accounts |
| `integrations` | Connected files and other integrations | Seller accounts. A Buyer account when connected files are on for it. |
| `seller-history-co-op` | Whether a Buyer account joins the [seller-history co-op](https://docs.apostra.com/v3/seller-history-co-op.md) | Buyer accounts that pooled seller history is open to |
| `operating-mode` | A seller's selling mode | Seller accounts enrolled in the simpler setup |
| `danger-zone` | Archiving the account | Seller accounts, and Buyer accounts that belong to an organization. A standalone Buyer account and an organization have none: a Buyer account is archived by its organization. |

Some people never see an organization's settings even when they administer it. An
API key, a service token, access limited to one advertiser, and a staff support
session are not a person signed in as themselves. They are offered no
organization settings, except that a support session reads the organization's
accounts.

## Where each setting opens

The settings that have their own page open it directly:

| Setting | How to open it |
| - | - |
| `billing`, `organization-billing-contract` | `open_plan_and_billing` |
| `connections` | `open_media_partners_page` |
| `organization-domains` | `open_domains_page` |

The other settings open from the settings menu in the Apostra web app. Some steps
stay on the website on purpose: showing an API key's secret once, signing in to an
identity provider, and confirming that an account is archived.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.