LogoLogo
  • Getting started
    • Overview
    • Quick start
    • Integration
  • Products
    • Fiat <> Crypto conversions
    • Third Party Payments
    • Segregated Accounts
  • Concepts
    • Authentication
    • Idempotency
    • Onboarding
    • Fees and Limits
    • Accounts
      • Client Accounts
      • Manager Accounts
    • Bank Accounts and Wallet Addresses
    • Supported Fiat Currencies, Blockchain Assets and Blockchain Networks
    • Webhooks
    • Document Management
  • Client API reference
    • Transactions
    • Preset fees
    • Deposit instructions
    • Bank accounts
    • Blockchain wallets
    • User
    • Uploads (temporary storage)
    • Documents (permanent storage)
    • Constants
    • Simulate
    • Models
  • Client Specification
  • Manager API reference
    • Clients
    • Clients onboarding
    • Client bank accounts
    • Client blockchain wallets
    • Client preset fees
    • Client deposit instructions
    • Client transactions
    • Transactions
    • Manager preset fees
    • Deposit instructions
    • Uploads (temporary storage)
    • Documents (permanent storage)
    • Webhooks
    • Constants
    • Simulate
    • Models
  • Manager Specification
Powered by GitBook
On this page
  1. Manager API reference

Documents (permanent storage)

PreviousUploads (temporary storage)NextWebhooks

Generates pre-signed URLs for downloading documents of a client.

post

Generates pre-signed URLs for downloading documents. Each pre-signed URL is valid for 5 minutes. See the for more information on S3 pre-signed URLs.

Authorizations
Path parameters
clientIdstringRequired

The client ID of the document owner.

Example: 91e5bd3c-0e13-4e6e-a673-3c0842b7f370
Body
keysstring[]Optional

The list of keys for which to generate pre-signed URLs.

Responses
201
Pre-signed URLs for downloading documents.
application/json
400
Invalid request payload
401
Invalid API key
404
Client or document not found
500
An unexpected error occurred.
post
POST /api/manager/v1/clients/{clientId}/documents/request-batch-download HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "keys": [
    "rialto-clients/entities/d61b6b30-0bf6-4fe7-9110-905b78f938df/26f7380a-dbf7-46a4-9568-7881cc8bfce7_file1.pdf"
  ]
}
[
  {
    "key": "rialto-clients/entities/d61b6b30-0bf6-4fe7-9110-905b78f938df/26f7380a-dbf7-46a4-9568-7881cc8bfce7_file1.pdf",
    "filename": "file1.pdf",
    "preSignedUrl": "https://rialto-bridge.s3.amazonaws.com/91e5bd3c-0e13-4e6e-a673-3c0842b7f370_abc/26f7380a-dbf7-46a4-9568-7881cc8bfce7_file1.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJZ6Z6Z6Z6Z6Z6Z6Z%2F20220301%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220301T000000Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
  }
]
S3 documentation