We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f1afa7e + 0369b3b commit aa4383cCopy full SHA for aa4383c
README.md
@@ -52,15 +52,15 @@ use GuzzleHttp;
52
### Constants
53
```php
54
const APP_ID = '<YOUR_APP_ID>';
55
-const APP_KEY_TOKEN = '<YOUR_APP_KEY_TOKEN>';
56
-const USER_KEY_TOKEN = '<YOUR_USER_KEY_TOKEN>';
+const REST_KEY_TOKEN = '<YOUR_REST_API_KEY>'; // App REST API key required for most endpoints
+const ORG_KEY_TOKEN = '<YOUR_ORGANIZATION_API_KEY>'; // Organization key is only required for creating new apps and other top-level endpoints
57
```
58
59
### Configure authorization
60
61
$config = Configuration::getDefaultConfiguration()
62
- ->setAppKeyToken(APP_KEY_TOKEN)
63
- ->setUserKeyToken(USER_KEY_TOKEN);
+ ->setAppKeyToken(REST_KEY_TOKEN)
+ ->setUserKeyToken(ORG_KEY_TOKEN);
64
65
$apiInstance = new DefaultApi(
66
new GuzzleHttp\Client(),
0 commit comments