File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ namespace Example
73
73
// that require the OneSignal User Auth Key.
74
74
var userConfig = new Configuration ();
75
75
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
77
77
78
78
var userInstance = new DefaultApi (userConfig );
79
79
@@ -96,7 +96,7 @@ namespace Example
96
96
// that require the OneSignal App REST API Key.
97
97
var appConfig = new Configuration ();
98
98
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
100
100
101
101
var appInstance = new DefaultApi (appConfig );
102
102
You can’t perform that action at this time.
0 commit comments