Skip to main content
GET
/
api
/
v1
/
external
/
companies
/
{companyId}
/
entity-types
List Entity Types
curl --request GET \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/entity-types \
  --header 'Authorization: <api-key>'
{
  "entityTypes": [
    {
      "type": "Exposure",
      "displayName": "Exposure",
      "pluralDisplayName": "Exposures",
      "links": {
        "collection": "/api/v1/external/companies/550e8400-e29b-41d4-a716-446655440000/entities/exposure",
        "configuration": "/api/v1/external/companies/550e8400-e29b-41d4-a716-446655440000/entities/exposure/configuration"
      },
      "permissions": {
        "read": "company.insured:read",
        "create": "company.insured:create",
        "update": "insured:update",
        "delete": "insured:delete"
      }
    },
    {
      "type": "Person",
      "displayName": "Person",
      "pluralDisplayName": "People",
      "links": {
        "collection": "/api/v1/external/companies/550e8400-e29b-41d4-a716-446655440000/entities/person",
        "configuration": "/api/v1/external/companies/550e8400-e29b-41d4-a716-446655440000/entities/person/configuration"
      },
      "permissions": {
        "read": "company.fmv1_custom_object:read",
        "create": "company.fmv1_custom_object:create",
        "update": "company.fmv1_custom_object:update",
        "delete": "company.fmv1_custom_object:delete"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

Response

The fixed set of CRUD entity-type descriptors.

entityTypes
object[]
required