Attach a compliance profile to a subcontractor
Attaches one of your organization’s compliance profiles to the
subcontractor, creating one pending compliance record per requirement
and starting an onboarding compliance run (complianceRunId; poll it with
Get a compliance run).
If the profile is already attached the call still returns 201, with
alreadyAttached: true, no new records (complianceRecords: []) and no
run.
A profile with a Secretary of State or license check runs it right away
when the subcontractor has the information it needs;
informationNeeded lists what to add otherwise.
Project-owned profiles cannot be attached here (400); attach the
subcontractor to the project with
Attach a subcontractor to a project.
Returns 404 when the subcontractor is not visible to you, or the profile
does not exist, is deleted or belongs to another organization. Requires
scope subcontractors:write.
Authentication
Session JWT or API key (ak_...)
