Skip to main content
GET
/
account_settings.json
curl -X GET \
-H "QB-Account-Key: 7yvNe17TnjNUqDoPwfqp" \
https://api.quickblox.com/account_settings.json
{
  "api_endpoint": "https://api.quickblox.com",
  "chat_endpoint": "chat.quickblox.com",
  "turnserver_endpoint": "turnserver.quickblox.com"
}
Use these endpoints in the application. This should be ideally the first request in the application before all other requests to QuickBlox.
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. We recommend to call it hourly.

Headers

QB-Account-Key
string
default:"7yvNe17TnjNUqDoPwfqp"
required
Provides access to account information. To get the QB-Account-Key, open Dashboard => Client section => Privacy and Settings and copy the Account key value.
curl -X GET \
-H "QB-Account-Key: 7yvNe17TnjNUqDoPwfqp" \
https://api.quickblox.com/account_settings.json

Responses

A successful response
api_endpoint
string
chat_endpoint
string
turnserver_endpoint
string
An error response
{
  "api_endpoint": "https://api.quickblox.com",
  "chat_endpoint": "chat.quickblox.com",
  "turnserver_endpoint": "turnserver.quickblox.com"
}
I