App code

App code credentials are the least secure of the authentication credential types and we recommend that you use API keys or OAuth 2.0 tokens instead for improved security. App code credentials will continue to be supported for a few products and current Developer Portal accounts where app code credentials have already been generated. New accounts will only be able to use app code credentials for some legacy products.

To use an app code, follow these steps:

Step 1: Create an app code

  1. If you don't already have a HERE account, see Get a HERE account.
  2. Sign into developer.here.com.
  3. Click your name, select Projects, and then your project from the list. Your project details and available application credentials are then displayed.
  4. Select HERE Premium SDKs and click Generate App ID and App Code. When your application is created, its app ID and app code are displayed.

Step 2: Use the app code

The following example demonstrates authentication with app code credentials using the app_id/app_code parameters in the request URL.

Example

https://geocoder.api.here.com/search/6.2/geocode.json
?languages=en-US
&maxresults=4
&searchtext=Sunnyvale
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

Note

If you choose to update your credentials in the future, for example, with API key credentials, you can remove your app code credentials by clicking Remove APP CODE credentials and use your new API key credentials in their place.

results matching ""

    No results matching ""