Skip to main content
GET
/
v1
/
policies
cURL
curl --request GET \
  --url https://public.api.live.turrisfi.com/v1/policies
{
  "data": [
    {
      "_id": "6650a1b2c3d4e5f6a7b8c9d0",
      "policyNumber": "POL-2025-001",
      "currentStatus": "active",
      "riskStateCode": "CA",
      "entityMatchStatus": "auto matched",
      "productMatchStatus": "unmatched",
      "transactionCount": 3,
      "createdAt": "2025-01-15T10:30:00.000Z",
      "updatedAt": "2025-01-15T10:31:45.000Z",
      "insuredEntityName": "Acme Corp",
      "agencyName": "Premier Insurance Agency",
      "agencyNpn": "12345678",
      "agencyFein": "12-3456789",
      "agencyLicenseNumber": "ABC-123456",
      "agencyLicensedStateCode": "CA",
      "agentName": "John Smith",
      "agentNpn": "87654321",
      "agentLicenseNumber": "LIC-789012",
      "agentLicensedState": "TX",
      "carrierName": "National Insurance Co",
      "lineOfBusiness": "Commercial Lines",
      "producerName": "Jane Doe",
      "producerCode": "PROD-001",
      "productName": "General Liability",
      "productCode": "GL-100",
      "effectiveDate": "2025-01-15T00:00:00.000Z",
      "expiryDate": "2026-01-15T00:00:00.000Z",
      "premiumAmountInUSD": 5000,
      "aggregateCoverageInUSD": 1000000,
      "coveragePerClaimInUSD": 500000,
      "filingNumber": "FIL-2025-001",
      "slaNumber": "SLA-2025-001",
      "externalBillingId": "BILL-2025-001",
      "licenseNumber": "LIC-001",
      "npn": "11223344"
    }
  ],
  "requestId": "dev-2c5e7cf2-9acf-4c8c-ab2f-b81f39d775a8",
  "timestamp": "2025-11-12T20:49:03.293Z"
}
Returns all policies associated with your upstream entity. Soft-deleted policies are excluded automatically. Results can be filtered by policy number, status, or risk state.

Query Parameters

ParameterTypeRequiredDescription
policyNumberstringNoFilter by exact policy number (e.g., POL-2025-001)
currentStatusstringNoFilter by policy status: bound, active, expired, cancelled, or non renewed
riskStateCodestringNoFilter by US state code (e.g., CA, TX, NY)

Filtering Examples

# By status
GET /v1/policies?currentStatus=active

# By state
GET /v1/policies?riskStateCode=CA

# Combined filters
GET /v1/policies?currentStatus=active&riskStateCode=TX

# By exact policy number
GET /v1/policies?policyNumber=POL-2025-001

Response Shape

All successful responses are wrapped in the standard response envelope. See Request/Response Conventions.
{
  "statusCode": 200,
  "data": [
    {
      "_id": "6650a1b2c3d4e5f6a7b8c9d0",
      "policyNumber": "POL-2025-001",
      "currentStatus": "active",
      "riskStateCode": "CA",
      "agencyName": "Premier Insurance Agency",
      "agencyNpn": "12345678",
      "agencyFein": "12-3456789",
      "agentName": "John Smith",
      "agentNpn": "87654321",
      "carrierName": "National Insurance Co",
      "lineOfBusiness": "Commercial Lines",
      "productName": "General Liability",
      "insuredEntityName": "Acme Corp",
      "effectiveDate": "2025-01-15T00:00:00.000Z",
      "expiryDate": "2026-01-15T00:00:00.000Z",
      "premiumAmountInUSD": 5000,
      "aggregateCoverageInUSD": 1000000,
      "coveragePerClaimInUSD": 500000,
      "entityMatchStatus": "auto matched",
      "productMatchStatus": "unmatched",
      "transactionCount": 3,
      "createdAt": "2025-01-15T10:30:00.000Z",
      "updatedAt": "2025-01-15T10:31:45.000Z"
    }
  ],
  "timestamp": "2025-01-15T10:31:50.000Z"
}

Response Fields

Core Fields

FieldTypeDescription
_idstringUnique policy identifier
policyNumberstringPolicy number that groups transactions into a single policy
currentStatusstringCurrent policy status: bound, active, expired, cancelled, or non renewed
riskStateCodestringUS state code where the risk is located

Agency & Agent Fields

FieldTypeDescription
agencyNamestring?Agency name
agencyNpnstring?Agency National Producer Number
agencyFeinstring?Agency Federal Employer Identification Number
agencyLicenseNumberstring?Agency state license number
agencyLicensedStateCodestring?State where the agency license was issued
agentNamestring?Individual agent name
agentNpnstring?Agent National Producer Number
agentLicenseNumberstring?Agent state license number
agentLicensedStatestring?State where the agent license was issued

Insurance Details

FieldTypeDescription
insuredEntityNamestring?Name of the insured party
carrierNamestring?Insurance carrier name
lineOfBusinessstring?Line of business
producerNamestring?Producing agent name
producerCodestring?Producer identifier code
productNamestring?Product name
productCodestring?Product code

Dates & Coverage

FieldTypeDescription
effectiveDatestring?Policy effective date (ISO 8601)
expiryDatestring?Policy expiration date (ISO 8601)
premiumAmountInUSDnumber?Premium amount in USD
aggregateCoverageInUSDnumber?Aggregate coverage limit in USD
coveragePerClaimInUSDnumber?Per-claim coverage limit in USD

Matching & Metadata

FieldTypeDescription
entityMatchStatusstringAgency/entity matching status (see table below)
productMatchStatusstringProduct matching status (see table below)
transactionCountnumberNumber of transactions linked to this policy
filingNumberstring?Filing number
slaNumberstring?SLA number
externalBillingIdstring?External billing identifier
licenseNumberstring?License number
npnstring?National Producer Number
createdAtstringISO 8601 timestamp when the policy was created
updatedAtstringISO 8601 timestamp of the last update

Matching Status Values

FieldValuesMeaning
entityMatchStatusunmatched, auto matched, user confirmed, manual reviewWhether the policy has been linked to a downstream entity
productMatchStatusunmatched, auto matched, user confirmed, needs clarificationWhether the policy has been linked to a product
Policies with entityMatchStatus of "unmatched" or "manual review" require attention in the Turris dashboard.

Error Scenarios

Bad Request (400)

Returned when a query parameter has an invalid value (e.g., an unsupported currentStatus).
{
  "statusCode": 400,
  "errorType": "validation_error",
  "errorMessage": ["Invalid value for currentStatus"],
  "requestId": "dev-abc123",
  "timestamp": "2025-01-15T10:30:00.000Z"
}

Unauthorized (401)

Missing or invalid authentication token. See Authentication.

Query Parameters

policyNumber
string

Filter by exact policy number

Example:

"POL-2025-001"

currentStatus
enum<string>

Filter by current policy status

Available options:
bound,
active,
expired,
cancelled,
non renewed
Example:

"active"

riskStateCode
string

Filter by US state code where risk is located

Example:

"CA"

Response

List of policies belonging to the authenticated upstream entity

data
object[]
required
requestId
string
required

Unique request identifier

Example:

"dev-2c5e7cf2-9acf-4c8c-ab2f-b81f39d775a8"

timestamp
string
required

Response timestamp

Example:

"2025-11-12T20:49:03.293Z"