Skip to main content
GET
/
api
/
external
/
companies
/
{companyId}
/
submissions
/
{submissionId}
Get Submission
curl --request GET \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/submissions/{submissionId} \
  --header 'Authorization: <api-key>'
{
  "id": "550e8400-e29b-41d4-a716-446655440001",
  "companyId": "660e8400-e29b-41d4-a716-446655440000",
  "number": "SUB-2024-001",
  "name": "Acme Corp Submission",
  "status": "quoted",
  "type": "new_business",
  "primaryInsuredName": "Acme Corporation",
  "applicationId": "550e8400-e29b-41d4-a716-446655440010",
  "renewingPolicyId": null,
  "renewingPolicyNumber": null,
  "declineReason": null,
  "quoteIds": [
    "660e8400-e29b-41d4-a716-446655440001",
    "660e8400-e29b-41d4-a716-446655440002"
  ],
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-01-16T14:20:00.000Z",
  "closedAt": null,
  "boundAt": null
}

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

submissionId
string<uuid>
required

Submission identifier

Query Parameters

expand
enum<string>

Expand related entities. Use quotes to include full quote details instead of IDs.

Available options:
quotes

Response

Submission details

A submission containing policy information and associated quotes

id
string<uuid>

Submission identifier

companyId
string<uuid>

Company identifier

number
string

Submission number (auto-generated)

Example:

"SUB-2024-001"

name
string | null

Submission name (optional)

status
enum<string>
Available options:
in_progress,
submitted,
quote_in_progress,
quoted,
bound,
declined,
expired,
cancelled
type
enum<string>

Internal submission type

Available options:
new_business,
renewal,
endorsement,
cancellation,
reinstatement
primaryInsuredName
string | null

Name of the primary insured

applicationId
string<uuid> | null

Associated application ID

renewingPolicyId
string<uuid> | null

Policy ID being renewed (for renewal submissions)

renewingPolicyNumber
string | null

Policy number being renewed (for renewal submissions)

declineReason
string | null

Reason for declining the submission (when status is declined)

isEmailSubmission
boolean

Whether this submission appears in the Inbox tab

quoteIds
string<uuid>[]

IDs of quotes associated with this submission

createdAt
string<date-time>

When the submission was created (ISO 8601)

updatedAt
string<date-time> | null

When the submission was last updated (ISO 8601)

closedAt
string<date-time> | null

When the submission was closed (ISO 8601)

boundAt
string<date-time> | null

When the submission was bound (ISO 8601)