Upload Links
Upload links
An upload link is a link to the TradeGuard sub portal that you send to your subcontractor yourself. The sub opens it, sees what your organization still needs from them, and uploads. No account, no password.
It is built for organizations where you collect documents yourself (see Who collects documents): TradeGuard never emails, texts or calls anyone about an upload link. Upload links are only available in “You collect” mode: if TradeGuard collects for you, the request returns 409 and TradeGuard sends the sub its own portal link instead.
Create one
Send url to the sub by email, text or inside your own app. Needs the subcontractors:write scope.
- The URL is shown once. TradeGuard keeps only a hash of it. If you lose it, create another.
- It works until
expiresAt(default 30 days;expiresInDaysfrom 1 to 90), on any number of devices. Each device stays signed in for 30 days. - It shows only your organization. If the sub also works for other TradeGuard customers, they don’t see those customers here, and the upload goes to you only.
- Turn links off with
revokePrevious: truewhen you create a new one, orDELETE /v1/subcontractors/{subcontractorId}/upload-linkto turn them all off and sign out every device that opened one.
In the web app, the subcontractor’s page has a Copy upload link button that does the same.
What the sub sees
- Your organization’s name and a status: All set, Items needed or Under review.
- One line per open issue, with the same
whatsWrongandwhatToAskFortext you get fromGET /v1/issues. - An upload button. The sub can choose the document type (certificate of insurance by default).
- The contact you have for them, which they can correct.
- English or Spanish.
Because you collect documents yourself, there is no Messages tab and no Have my broker send it button for your organization: TradeGuard doesn’t write to your subs.
What happens on upload
An upload through the link is the same as you uploading the file with POST /v1/subcontractors/{subcontractorId}/documents: same size and file-type limits, same reading and checks, same document.*, compliance.* and issue.* webhooks. The document records that the sub sent it through the portal (submittedByRole: sub, submittedVia: portal).
When a link has expired
The sub sees “This upload link has expired. Ask the company that sent it for a new one.” TradeGuard can’t email them a fresh one for you. Create a new link and send it.
