# Get current account configuration

Returns the configuration a client needs in order to present the organisation correctly:
how the account identifies itself, the settings that shape the experience, the wording it
uses for everyday concepts, and the locales it offers. Which account answers is determined
by the subdomain the request is made against, so no identifier is passed.
The response has five parts. `account` is the organisation itself - its identifier, its
parent if it sits under one, its status and a set of capability flags a client uses to
decide what to show. `settings` is the account's configuration as key/value pairs, keyed by
a `section:name` string. `terms` is the account's own vocabulary, so an organisation that
calls its people "Members" rather than "Volunteers" is reflected here and a client should
take its labels from this block rather than hard-coding them. `locales` lists the languages
offered. `extras` carries client-side integration configuration.
The `settings` block is large and account-specific - a configured organisation returns
several hundred entries - so the example shows a representative selection rather than the
full set. Read the keys you need by name and ignore the rest; entries are added over time
and a key being absent means the account has not set it.
Despite being grouped with the current-user endpoints, this describes the organisation and
not the caller. Nothing in the response varies by user.

Endpoint: GET /api/v2/account/data
Version: 2.0.0
Security: default

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 200 fields (application/json):

  - `account` (object)

  - `account.id` (integer)

  - `account.rrn` (string)

  - `account.parent_id` (string | null)

  - `account.parent_url` (string | null)

  - `account.parent_account_name` (string | null)

  - `account.status` (string)

  - `account.can_request_deletion` (boolean)

  - `account.has_support_email` (boolean)

  - `account.delete_requested_at` (string | null)

  - `account.allow_family` (boolean)

  - `account.is_archived` (boolean)

  - `account.has_latest_eula` (boolean)

  - `account.has_payment_integration` (boolean)

  - `account.is_locked` (boolean)

  - `account.is_trial` (boolean)

  - `account.has_seek_volunteer_integration` (boolean)

  - `settings` (object)

  - `settings.general:available_locales` (array)

  - `settings.general:locale` (string)

  - `settings.general:timezone` (string)

  - `settings.general:location` (array)

  - `settings.users:register` (integer)

  - `settings.email:from_email` (string)

  - `settings.email:from_name` (string)

  - `terms` (object)

  - `terms.rosterfy` (string)

  - `terms.admin` (string)

  - `terms.portal` (string)

  - `terms.user` (string)

  - `terms.users` (string)

  - `terms.event` (string)

  - `terms.events` (string)

  - `terms.shift` (string)

  - `terms.shifts` (string)

  - `terms.account` (string)

  - `terms.accounts` (string)

  - `terms.subaccount` (string)

  - `terms.subaccounts` (string)

  - `locales` (array)

  - `locales.value` (string)

  - `locales.text` (string)

  - `extras` (object)

  - `extras.datadog` (object)

  - `extras.datadog.client_token` (string)

  - `extras.datadog.application_id` (string)

  - `extras.datadog.service` (string)

  - `extras.datadog.sample_rate` (string)

  - `extras.datadog.premium_sample_rate` (string)

  - `extras.datadog.track_interactions` (boolean)

  - `extras.datadog.version` (string)

  - `extras.thresholds` (array)

  - `extras.level_1_account_rrn` (string)

  - `extras.intercom_app_id` (string)

  - `extras.messaging_api_key` (string)

  - `extras.messaging_channel_limit` (integer)

  - `extras.show_channel_count` (boolean)

