Create an upload link
Returns a link to the TradeGuard sub portal that you send to the
subcontractor yourself (by email, text or in your own app). The sub
opens it with no account and no password, sees only your
organization’s open items (the same whatsWrong / whatToAskFor
text as GET /v1/issues), and uploads documents to you. Uploads go
through the same checks as an API upload and fire the same webhooks.
Made for organizations where you collect documents yourself
(collectionMode: customer): TradeGuard never emails anyone about an
upload link. It works for any organization.
- The URL is returned once; TradeGuard stores only a hash of it.
- It works on any number of devices until
expiresAt(default 30 days,expiresInDays1 to 90). A device stays signed in for 30 days. revokePrevious: trueturns this sub’s earlier upload links off first.DELETEturns them all off.
Errors: 404 when the subcontractor isn’t on your roster, 409 when
it is inactive with your organization or when your organization isn’t
set to “You collect” (TradeGuard then sends the sub its own portal
link).
See Upload links.
Authentication
Session JWT or API key (ak_...)
