File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ use GuzzleHttp;
52
52
### Constants
53
53
``` php
54
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 >';
55
+ const REST_KEY_TOKEN = '<YOUR _REST_API_KEY >'; // App REST API key required for most endpoints
56
+ const ORG_KEY_TOKEN = '<YOUR _ORGANIZATION_API_KEY >'; // Organization key is only required for creating new apps and other top-level endpoints
57
57
```
58
58
59
59
### Configure authorization
60
60
``` php
61
61
$config = Configuration::getDefaultConfiguration()
62
- ->setAppKeyToken(APP_KEY_TOKEN )
63
- ->setUserKeyToken(USER_KEY_TOKEN );
62
+ ->setAppKeyToken(REST_KEY_TOKEN )
63
+ ->setUserKeyToken(ORG_KEY_TOKEN );
64
64
65
65
$apiInstance = new DefaultApi(
66
66
new GuzzleHttp\Client(),
You can’t perform that action at this time.
0 commit comments