Skip to main content
GET
/
api
/
v1
/
external
/
companies
/
{companyId}
/
entities
/
submission
/
{entityId}
Get Submission
curl --request GET \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/entities/submission/{entityId} \
  --header 'Authorization: <api-key>'
{
  "id": "550e8400-e29b-41d4-a716-446655440303",
  "fieldModelV1Data": {
    "submissionName": "Acme 2025 Renewal",
    "submissionNumber": "S-2025-0001"
  },
  "createdAt": 1736937000,
  "createdBy": "google-oauth2|123456789",
  "updatedAt": 1736937000,
  "updatedBy": null,
  "createdByName": "Jane Adjuster",
  "updatedByName": null
}

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

entityId
string<uuid>
required

Entity identifier

Response

Submission details

The generic shape returned by unified entity get and list endpoints. All entity-specific field values live inside fieldModelV1Data (keyed by field referenceId); the envelope is identical for every entity type.

id
string<uuid>
required

Entity identifier

fieldModelV1Data
object
required

Field values keyed by referenceId. Includes calculated/auto-set values populated by the resolver (e.g. submissionNumber, quoteStatus) and join field IDs.

createdAt
integer<int64>
required

Creation time in epoch seconds.

createdBy
string | null
required

User ID of the creator, or null.

updatedAt
integer<int64>
required

Last update time in epoch seconds (equals createdAt if never updated).

updatedBy
string | null
required

User ID of the last updater, or null.

createdByName
string | null
required

Display name resolved from createdBy, or null.

updatedByName
string | null
required

Display name resolved from updatedBy, or null.