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;
5252### Constants
5353``` php
5454const 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
5757```
5858
5959### Configure authorization
6060``` php
6161$config = Configuration::getDefaultConfiguration()
62- ->setAppKeyToken(APP_KEY_TOKEN )
63- ->setUserKeyToken(USER_KEY_TOKEN );
62+ ->setAppKeyToken(REST_KEY_TOKEN )
63+ ->setUserKeyToken(ORG_KEY_TOKEN );
6464
6565$apiInstance = new DefaultApi(
6666 new GuzzleHttp\Client(),
You can’t perform that action at this time.
0 commit comments