Skip to main content
POST
Add a licence compliance configuration
Creates a compliance configuration for one of your entities, covering the states you name, and returns it with each state’s rule resolved down to licence classes and lines of authority.

You name states, not requirement ids

Send a lineOfBusiness and a list of stateCodes. Together those select the Turris default compliance requirement for each state, so you never handle a requirement id.
lineOfBusiness is required, and its allowed values are published in the schema below. It is what makes the requirement lookup unambiguous: a state can have one default per line of business, so without it there would be nothing to choose between them.

What can go wrong

Authoring your own compliance rules is not part of this endpoint. It attaches the Turris defaults. A rule built specifically for your agency is created in the Turris agency application, and List Compliance Configurations marks those with isTurrisDefault: false.
Send an Idempotency-Key header. See Idempotency.

Headers

idempotency-key
string

UUID to ensure idempotent request processing

Example:

"550e8400-e29b-41d4-a716-446655440000"

x-idempotency-key
string

Alternative UUID header for idempotent request processing

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
name
string
required

Configuration name. Must be unique within the entity that owns it.

Example:

"P&C"

lineOfBusiness
enum<string>
required

The line of business this configuration governs. Together with each state code it selects the Turris default compliance requirement to attach.

Available options:
P&C Commercial,
P&C Personal,
Surplus Lines,
Life & Health
Example:

"P&C Personal"

stateCodes
enum<string>[]
required

The states this configuration covers. Each one attaches the Turris default requirement for that state and line of business. A state with no default for the chosen line of business returns 404, and a state listed twice returns 400.

Available options:
AL,
AK,
AZ,
AR,
CA,
CO,
CT,
DE,
FL,
GA,
HI,
ID,
IL,
IN,
IA,
KS,
KY,
LA,
ME,
MD,
MA,
MI,
MN,
MS,
MO,
MT,
NE,
NV,
NH,
NJ,
NM,
NY,
NC,
ND,
OH,
OK,
OR,
PA,
RI,
SC,
SD,
TN,
TX,
UT,
VT,
VA,
WA,
WV,
WI,
WY,
GU,
PR,
VI,
DC
Example:
description
string

Free-text description

Example:

"Minimum authority for personal lines."

downstreamEntityId
string

Which of your entities owns this configuration. Defaults to your own organization.

Example:

"6610b3d2c2e0a51b8c0d1f02"

Response

The configuration created

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"