You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const std::string REST_KEY_TOKEN = "<YOUR_REST_API_KEY>";// App REST API key required for most endpoints
97
+
const std::string ORG_KEY_TOKEN = "<YOUR_ORGANIZATION_API_KEY>";// Organization key is only required for creating new apps and other top-level endpoints
98
98
99
99
static DefaultApi * createApi() {
100
100
// Settings up the client
101
101
const auto configuration = ApiClient::getDefaultConfiguration();
102
-
configuration->setAppKeyToken(APP_KEY_TOKEN);
103
-
configuration->setUserKeyToken(USER_KEY_TOKEN);
102
+
configuration->setAppKeyToken(REST_KEY_TOKEN);
103
+
configuration->setUserKeyToken(ORG_KEY_TOKEN);
104
104
105
105
const auto apiClient = std::make_shared<ApiClient>(configuration);
0 commit comments