Skip to navigation

Who Collects Documents

Who collects documents

Every organization has one setting, Who collects documents, that decides who asks your subcontractors for their documents.

TradeGuard collects (default)You collect
Typical customerA general contractor using the TradeGuard web appA platform or software company using the API
Invites and reminders to subsTradeGuard sends themNever sent
Asking a sub to fix a problemTradeGuard emails the sub and follows up until it’s fixedYou do, using the issues list and webhooks
Reading documents, compliance checks, monitoringYesYes
Verifying policies with the brokerYesYes (it follows the profile’s Don’t verify with the broker option)

With TradeGuard collects, adding a subcontractor invites it by email; see Subcontractor invites and reminders.

With You collect, TradeGuard never emails, calls or invites your subcontractors, and Invite a subcontractor returns 409. To let a sub upload to you without an account, send them an upload link. Calls to an insurance broker to verify a policy aren’t contact with the sub, so they still happen unless the profile turns them off.

See your setting

The setting is the collectionMode field on your organization:

  • tradeguard: TradeGuard collects (the default).
  • customer: you collect.

$TG and $TG_KEY are set up in the Quickstart:

curl -s "$TG/v1/organizations" -H "Authorization: Bearer $TG_KEY" \
| jq '.data[0] | {id, name, collectionMode, accountManagerUserId}'
{
"id": "7f3c1b52-1111-4222-8333-444455556666",
"name": "Acme Staffing",
"collectionMode": "customer",
"accountManagerUserId": "user_2abc..."
}

In the web app it’s under Settings > General > Who collects documents.

accountManagerUserId is the TradeGuard team member who looks after your account.

Change it

Contact TradeGuard support. Only TradeGuard staff can change collectionMode or accountManagerUserId. A PATCH /v1/organizations/{id} that includes either field from your API key or web login returns 403 with code forbidden, and nothing is changed. See Update an organization.

If you collect documents yourself

You get the same checks, issues and webhooks as everyone else. The loop is:

  1. Listen for issue.created and issue.updated webhooks, or poll List issues.
  2. Ask your subcontractor for what the issue says is missing or wrong.
  3. Upload the new document for that subcontractor with Upload a document.
  4. TradeGuard checks it. When the problem is fixed, the issue closes on its own and you get issue.resolved.

Sandbox

Sandbox organizations never contact anyone, whichever mode they are in. With TradeGuard collects, messages that production would send are simulated instead.