Walletguide
DevelopersAPIReferencefiles

UploadUrl

Creates a capability URL under /external/uploads/. POST it multipart (field file) or PUT the raw bytes (curl -T); add ?fileName= when the request carries…

POST
/wallets/{walletId}/files/uploadUrl

Authorization

bearerAuth
headerAuthorization<token>

A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.

Path Parameters

walletId*string

Row uuid

Formatuuid

Request Body

application/json
  1. body
fileName?string

Name to store the file under, with its extension. Defaults to the uploaded file's name.

Length1 <= length
transactionIds?array<>

Cash transactions to attach the file to.

cryptoTransactionIds?array<>

Crypto transactions to attach the file to.

securityTransactionIds?array<>

Security (buy/sell/dividend) transactions to attach the file to.

Response Body

The upload link

application/json
  1. response
uploadUrl*string
expiresTime*string
maxBytes*integer
example*string
curl -X POST 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/uploadUrl' \  -H 'Content-Type: application/json' \  -d '{}'
{  "uploadUrl": "string",  "expiresTime": "string",  "maxBytes": 0,  "example": "string"}