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. Client API reference

Uploads (temporary storage)

PreviousUserNextDocuments (permanent storage)
  • GETLists the uploaded documents
  • POSTGenerates pre-signed URLs for uploading documents.

Lists the uploaded documents

get

Lists the uploaded documents. The documents are kept for 24 hours. The list includes the filenames of the documents. The filenames can be used to reference the documents in request payloads. When a document is referenced, Rialto will copy the document to a permanent storage. During the copy operation, a key referencing the document in the final destination will be generated. See the for more information on S3 pre-signed URLs.

Authorizations
Responses
200
The list of uploaded documents.
application/json
401
Invalid API key
500
An unexpected error occurred.
get
GET /api/client/v1/uploads HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Accept: */*
[
  {
    "filename": "file1.pdf",
    "updatedAt": "2023-03-01T00:00:00Z"
  }
]

Generates pre-signed URLs for uploading documents.

post

Generates pre-signed URLs for uploading documents. The uploaded documents are kept for 24 hours. For each file, a pre-signed URL is generated. Each pre-signed URL is valid for 5 minutes. The filenames can be used to reference the documents in request payloads. When a document is referenced, Rialto will copy the document to a permanent storage. During the copy operation, a key referencing the document in the final destination will be generated. See the for more information on S3 pre-signed URLs.

Authorizations
Body
filenamesstring[]Optional

The list of filenames for which to generate pre-signed URLs. It must only contain the following characters: - alphanumeric characters (a-z, A-Z, 0-9) - special characters: - _ . * ' ( ) & $ @ = ; / : space.

Responses
201
Pre-signed URLs for uploading documents.
application/json
400
Invalid request payload
401
Invalid API key
500
An unexpected error occurred.
post
POST /api/client/v1/uploads/request-batch-upload HTTP/1.1
Host: api.rialtobridge.xyz
RIALTO_API_KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 27

{
  "filenames": [
    "file1.pdf"
  ]
}
[
  {
    "filename": "file1.pdf",
    "preSignedUrl": "https://rialto-bridge.s3.amazonaws.com/91e5bd3c-0e13-4e6e-a673-3c0842b7f370_abc/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
S3 documentation