Get a link to upload a file
get_upload_linkReturns a one-time upload link (uploadUrl) for a file the user has: a signed limited POA or transfer POA, or a supporting document of a new LEI application. Use this instead of the base64 upload tools for any file you can't pass exactly as text, which is most PDFs: give the user uploadUrl to open in their browser and choose the file (PDF, JPG or PNG, at most 4 MB). If you can make HTTP requests, you can instead POST the file to uploadUrl as multipart/form-data (field 'file') or as the raw request body. The link works once and expires in 30 minutes. Afterwards check with check_registration_status or check_transfer_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leiId | Yes | The id (GUID) of the LEI application or transfer, from list_my_leis, start_lei_registration or start_lei_transfer. | |
| document | Yes | What is uploaded: 'limited_poa' (a new application's signed POA), 'transfer_poa' (a transfer's signed POA), or a supporting document of a new application: 'entity', 'direct_parent', 'ultimate_parent', 'fund_management', 'fund_master_feeder' or 'fund_umbrella'. |