Handling Issue Resolution Yourself
Handling issue resolution yourself
When a subcontractor doesn’t meet your requirements, TradeGuard opens an issue. If you contact your subcontractors yourself (for example, you run a staffing or software platform and the relationship with the sub is yours), everything you need to follow up is on the issue:
whatsWrong: what failed, in plain English;whatToAskFor: what to ask the subcontractor or their insurance agent for.
You send the request, upload the new document when it arrives, and the issue closes on its own once the new document passes. You never mark an issue fixed by hand.
1. Listen for the webhooks
Subscribe your endpoint to these events in the dashboard (see Webhooks in the Onboarding Guide):
Every issue.* webhook carries the full issue, including whatsWrong and whatToAskFor, so you don’t have to fetch it again.
2. Read the issue
What the two lines mean
whatsWrongnames each failing check, one sentence each. It is written by fixed templates from the issue’sgap, never by AI, so the same problem always reads the same way and you can show it to the subcontractor as is.whatToAskForis one request covering everything on the issue. When several things are wrong with one certificate, they are combined into a single ask for one updated COI. A few cases need nothing from the subcontractor yet:- TradeGuard is reviewing it. The text starts with “Nothing to ask for yet”. TradeGuard reviews held documents within 1 business day, and the issue updates or closes on its own. See Documents Held for Review.
- Your requirement is missing a setting. The text starts with “Nothing to ask the subcontractor for”. Finish the requirement in your compliance profile instead.
- The subcontractor record is missing information. The text tells you what to add to the subcontractor (for example, a license number) so the check can run.
The summary field is still there for existing integrations. New integrations should use whatsWrong and whatToAskFor.
Examples by category
3. Upload the new document
When the subcontractor (or their insurance agent) sends the new document, upload it:
If the file is hosted somewhere, POST /v1/subcontractors/:subId/documents/url takes a sourceUrl instead. The Onboarding Guide covers both.
4. The issue closes on its own
TradeGuard reads the new document and re-checks the subcontractor automatically. If everything on the issue now passes, the issue closes and you get issue.closed. If something still fails, the issue stays open, refireCount goes up, whatsWrong and whatToAskFor describe what is still missing, and you get issue.updated.
To re-check sooner, or after changing the subcontractor’s details, start a check yourself with POST /v1/subcontractors/:subId/compliance/check (see Reading Compliance Results).
Good to know
- One issue covers one requirement for one subcontractor. A new problem with the same requirement updates the open issue instead of opening a second one.
- You can acknowledge an issue (
PATCH /v1/issues/:idwith{"action": "acknowledge"}) to show your team is on it. That doesn’t change what TradeGuard checks. - Closing an issue by hand (
{"action": "close"}) doesn’t fix anything. If the problem is still there, the next check opens a new issue.
