Skip to main content
POST
/
api
/
v1
/
external
/
companies
/
{companyId}
/
configuration
/
import
Import Configuration
curl --request POST \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/configuration/import \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "spreadsheetId": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms",
  "googleOAuthToken": "ya29.a0AfH6SM..."
}
'
{
  "success": true,
  "message": "Configuration imported successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.aiinsurance.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header.

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json

Request body for FMV1 configuration spreadsheet operations

spreadsheetId
string
required

The ID of the target Google Spreadsheet

googleOAuthToken
string
required

A valid Google OAuth2 access token with Google Sheets access permission

Response

Import completed successfully

Result of importing FMV1 configuration from a Google Spreadsheet

success
boolean
required

Whether the import completed successfully

message
string

Human-readable status message