
<aside>
Run real-time, compliance checks on one or more contacts to confirm if they have completed certain Lessons or submitted certain Forms.
</aside>
Compliance measures how much required work a contact has finished. It can combine:
For each contact, the API returns a single score:
compliance = (completed lessons + completed submissions in scope) ÷ (lessons in scope + submissions in scope), rounded to two decimalscompliant is true only when that ratio is 1.0If there is nothing in scope for a contact, the score is 1.0.
Use your ConveYour app key and API token on every request (same pattern as other ConveYour APIs):
x-conveyour-appkey: your app keyx-conveyour-token: your tokenBruno folder defaults apply these headers for all requests in compliance.
Base URL is your environment host (e.g. https://your-subdomain.conveyour.com). Paths below are relative to that host.
| Method | Path | Purpose |
|---|---|---|
GET |
/api/compliance/schema |
Field definitions for building a settings UI |
GET |
/api/compliance/config |
Read current org compliance settings (flat object) |
POST |
/api/compliance |
Run a compliance check for a bookmark or contact filter |
Config endpoints require an admin capability (“Manage Compliance”). The run endpoint is intended for trusted integrations with the same level of access.
POST /api/compliance