Skip to content

docs: update auth key references to match public docs #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ using utility::string_t;
using utility::conversions::to_string_t;

const std::string APP_ID = "<YOUR_APP_ID>";
const std::string APP_KEY_TOKEN = "<YOUR_APP_KEY_TOKEN>";
const std::string USER_KEY_TOKEN = "<YOUR_USER_KEY_TOKEN>";
const std::string REST_KEY_TOKEN = "<YOUR_REST_API_KEY>"; // App REST API key required for most endpoints
const std::string ORG_KEY_TOKEN = "<YOUR_ORGANIZATION_API_KEY>"; // Organization key is only required for creating new apps and other top-level endpoints

static DefaultApi * createApi() {
// Settings up the client
const auto configuration = ApiClient::getDefaultConfiguration();
configuration->setAppKeyToken(APP_KEY_TOKEN);
configuration->setUserKeyToken(USER_KEY_TOKEN);
configuration->setAppKeyToken(REST_KEY_TOKEN);
configuration->setUserKeyToken(ORG_KEY_TOKEN);

const auto apiClient = std::make_shared<ApiClient>(configuration);

Expand Down