Skip to main content
POST
/
api
/
v1
/
external
/
companies
/
{companyId}
/
custom-objects
/
{objectType}
Create Custom Object
curl --request POST \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/custom-objects/{objectType} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "vehicleMake": "Toyota",
    "vehicleModel": "Camry",
    "year": 2024,
    "vin": "1HGBH41JXMN109186"
  }
}
'
{ "id": "550e8400-e29b-41d4-a716-446655440020" }

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

objectType
string
required

Custom object type in snake_case format (e.g., vehicle, building_info)

Body

application/json
data
object
required

Field values keyed by referenceId

Response

Custom object created successfully

id
string<uuid>

The ID of the created custom object