Skip to main content
Requires Admin API key

Usage

// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));

// Call the API
var response = await client.AddApiKeyAsync(
  new ApiKey
  {
    Acl = new List<Acl> { Enum.Parse<Acl>("Search"), Enum.Parse<Acl>("AddObject") },
    Description = "my new api key",
  }
);
// >LOG

See the full API reference

For more details about input parameters and response fields.
I