Skip to content

Commit f764462

Browse files
authored
Merge pull request #64 from OneSignal/player-api-updates
docs: update auth key references to match public docs
2 parents 96136b4 + 81ea01a commit f764462

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ namespace Example
7373
// that require the OneSignal User Auth Key.
7474
var userConfig = new Configuration();
7575
userConfig.BasePath = "https://api.onesignal.com";
76-
userConfig.AccessToken = "USER_AUTH_KEY";
76+
userConfig.AccessToken = "ORGANIZATION_KEY"; // Organization key is only required for creating new apps and other top-level endpoints
7777
7878
var userInstance = new DefaultApi(userConfig);
7979

@@ -96,7 +96,7 @@ namespace Example
9696
// that require the OneSignal App REST API Key.
9797
var appConfig = new Configuration();
9898
appConfig.BasePath = "https://api.onesignal.com";
99-
appConfig.AccessToken = "REST_API_KEY";
99+
appConfig.AccessToken = "REST_API_KEY"; // App REST API key required for most endpoints
100100
101101
var appInstance = new DefaultApi(appConfig);
102102

0 commit comments

Comments
 (0)