Skip to navigation

Create a compliance profile

Creates a compliance profile, optionally with all of its requirements in the same call. See Set up a compliance profile by API for copy-paste examples.

All or nothing. Every item in requirements is validated first, with the same rules and defaults as Create a requirement. If any item is invalid the response is 400 validation_failed, each details[].path starts with requirements.<index> (for example requirements.2.criteria.limits.each_ocurrence), and nothing is saved. Otherwise the profile and every requirement are saved together.

Every new profile also gets a “Certificate checks” requirement (documentCategory: certificate), configured by certificateChecks. Send certificateChecks: null to leave it out, for example to supply your own certificate requirement in requirements.

isDefault: true makes this the organization’s default profile (the previous default is unset) and enrolls every active subcontractor in it.

The response lists the Certificate checks requirement first, then your requirements in the order sent. A requirement without a sortOrder gets its position in the list (1, 2, 3, …).

Requires scope compliance_profiles:write, plus requirements:write when requirements is not empty.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Path parameters

organizationIdstringRequiredformat: "uuid"

Request

This endpoint expects an object.
namestringRequired<=255 characters
descriptionstringOptional<=2000 characters
isDefaultbooleanOptionalDefaults to false
Make this the organization's default profile and enroll every active subcontractor in it.
insuranceVerificationCadenceenum or nullOptional

How often TradeGuard re-verifies a subcontractor’s insurance with the broker. monthly and quarterly schedule recurring checks; the others verify once, when a certificate arrives. none switches broker verification off for the profile: an uploaded certificate starts no broker call or carrier email, and a certificate that meets the rules is compliant without one (it never waits on the broker). If a subcontractor is on several of your profiles, any profile that verifies wins. Standalone calls (POST /v1/verification-calls) are unaffected.

reportCadenceDefaultenum or nullOptional

How often a report source is re-run for subcontractors enrolled in a profile. none switches a source off even when the profile default is set.

Allowed values:
reportCadencesobjectOptional

Per-source overrides of reportCadenceDefault. Send null for a source to remove its override.

requiredAdditionalInsuredNamestring or nullOptional<=255 characters
Your company's name as it must appear on certificates. Turns on the certificate holder check of the new Certificate checks requirement.
verificationChannelPolicyenum or nullOptional

Which channel opens the producer verification. call_first (default): the AI call opens, the carrier email follows only if the call cannot work. email_first: the carrier email opens; calls begin once the escalation threshold is met (emails sent AND business days elapsed). email_only: never call; exhausted email raises compliance.producer_outreach_needed and opens an issue. Set per profile (verificationChannelPolicy on the profile, or in the dashboard); null on a profile inherits the organization default.

Allowed values:
emailEscalationAttemptsinteger or nullOptional1-10
emailEscalationBusinessDaysinteger or nullOptional0-60
metadataobjectOptional

Your own key/value data, up to 16 KB as JSON.

certificateChecksobject or nullOptional

Settings for the profile’s Certificate checks requirement. Left out: insured name, signature and every-policy-active on, certificate holder on when requiredAdditionalInsuredName is set. null: create the profile without a Certificate checks requirement.

requirementslist of objectsOptional

Requirements to create with the profile, all or nothing. Each item is a Create a requirement body.

Response

The new profile with its requirements
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error