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
bearerAuthheader
Authorization<token>A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.
walletId*stringRow uuid
Format
uuidapplication/json- body
fileName?stringName to store the file under, with its extension. Defaults to the uploaded file's name.
Length
1 <= lengthtransactionIds?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.
The upload link
application/json- response
uploadUrl*stringexpiresTime*stringmaxBytes*integerexample*stringcurl -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"}