How to Generate API Keys

API keys allow you to programmatically access your AI Insurance data and integrate with external systems. This guide shows you how to generate API keys from your company settings.

Step-by-Step Instructions

Step 1: Access Company Settings

  1. Log into your AI Insurance account at https://app.aiinsurance.io
  2. In the left sidebar, find and click on your company name (e.g., “Demo Insurance Inc.”)
  3. This will open the company settings page

Step 2: Navigate to API Keys

  1. In the company settings, look for the navigation bar
  2. Click on “API Keys” from the options: Find api key

Step 3: Create Your API Key

  1. Click the purple ”+ Create New API Key” button
  2. You’ll be prompted to enter:
    • Key Name: A descriptive name for your API key (e.g., “Production Integration”, “Testing API”)
    • Description: Optional description of what this key will be used for add key

Step 4: Save Your API Key

  1. After creating the key, you’ll receive your API key
  2. Store it securely

Using Your API Key with Submissions and Quotes REST API

Now that you have your API key, you can use it to access the Submissions and Quotes REST API. This API allows you to programmatically manage submissions and quotes in your AI Insurance system.

Getting Started with the API

Follow this page for complete API instructions - This includes:
  • All available API endpoints
  • How to use the interactive API playground
  • Request/response examples
  • Authentication details

What You Can Do with the API

Once you have your API key, you can:
  • List Submissions: Retrieve all submissions for your company
  • List Quotes: Get quotes for specific submissions
  • Get Quote Details: Retrieve detailed information about a quote
  • Create Submissions: Programmatically create new submissions
  • Update Submissions: Modify existing submission data
  • Get Configuration: Access your company’s configuration data

Example: Using Your API Key

With your API key, you can make requests like:
curl -X GET \
  "https://app.aiinsurance.io/api/external/companies/YOUR_COMPANY_ID/submissions" \
  -H "Authorization: ApiKey YOUR_API_KEY_HERE"