API client / Methods
List of methods

We released a new version of the JavaScript API client in public beta. Read the beta documentation for more information.

We released a new version of the PHP API client in public beta. Read the beta documentation for more information.

We released a new version of the Java API client in public beta. Read the beta documentation for more information.

Difference between adding and generating (secure) API keys

You can create new API keys in two different ways: addApiKey and generateSecuredApiKey.

The differences are:

  • Add API key runs on Algolia’s servers; Generate Secured API key runs on your own server.
  • Added keys appear in the Algolia dashboard; generated keys don’t.
  • You add keys that are fixed and have very precise permissions. They’re often used to target specific indices, users, or application. They’re also used to generate secured API keys.

You should generate secured API keys when building mobile applications with Algolia.

Did you find this page helpful?