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

# Get Account Settings

> Retrieve correct API endpoints for account.

<Info>
  Use these endpoints in the application. This should be ideally the first request in the application before all other requests to QuickBlox.
</Info>

QuickBlox provides a flexible mechanism for apps to retrieve all correct endpoints (`apiEndpoint` , `chatEndpoint` etc.)
to work with. This mechanism allows for a smooth transition between [plans](https://quickblox.com/pricing/).
We recommend to call it hourly.

#### Headers

<ParamField header="QB-Account-Key" type="string" required default="7yvNe17TnjNUqDoPwfqp">
  Provides access to account information. To get the `QB-Account-Key`, **open Dashboard** => **Client section** => **Privacy and Settings** and copy the Account key value.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET \
  -H "QB-Account-Key: 7yvNe17TnjNUqDoPwfqp" \
  https://api.quickblox.com/account_settings.json
  ```
</RequestExample>

#### Responses

<AccordionGroup>
  <Accordion title="200">
    A successful response

    <ResponseField name="api_endpoint" type="string" />

    <ResponseField name="chat_endpoint" type="string" />

    <ResponseField name="turnserver_endpoint" type="string" />
  </Accordion>

  <Accordion title="404">
    An error response
  </Accordion>
</AccordionGroup>

<ResponseExample>
  ```json 200 theme={null}
  {
    "api_endpoint": "https://api.quickblox.com",
    "chat_endpoint": "chat.quickblox.com",
    "turnserver_endpoint": "turnserver.quickblox.com"
  }
  ```

  ```json 404 theme={null}
  {}
  ```
</ResponseExample>
