Api keys

List of methods

Create secured API Key

Generate a virtual API Key without any call to the server.

Add API Key

Add a new API Key with specific permissions/restrictions.

Update API Key

Update the permissions of an existing API Key.

Delete API Key

Delete an existing API Key.

Get API Key permissions

Get the permissions of an API Key.

List API Keys

Get the full list of API Keys.

Adding and Generating API keys

It is important to understand the difference between the Add API Key and Generate secured API Key methods.

For example:

  • Add API key is executed on the Algolia server; Generate Secured API key is executed on your own server, not Algolia’s.
  • Keys added appear on the dashboard; keys generated don’t.
  • You add keys that are fixed and have very precise permissions. They are often used to target specific indices, users, or application use-cases. They are also used to generate Secured API Keys.

For a full discussion:

Php small white
PHP
Ruby small white
Ruby
Javascript small white
JavaScript
Python small white
Python
Swift small white
iOS
Android small white
Android
Csharp small white
C#
Java small white
Java
Go small white
Go
Scala small white
Scala
Php small white
PHP
Ruby small white
Ruby
Javascript small white
JavaScript
Python small white
Python
Swift small white
iOS
Android small white
Android
Csharp small white
C#
Java small white
Java
Go small white
Go
Scala small white
Scala