Documents
Mint a single-use upload token
Mints a single-use, expiring upload token for hosts with no direct byte-upload equivalent (e.g. an agent sandbox with outbound-only network access). PUT the PDF to the returned upload_url, then POST /v1/documents with { "upload_id": "..." } to convert it by reference. Tokens expire after ~2 hours and are single-use — PUTting a second file overwrites the first, but converting consumes the token. No credit is deducted on mint; credits are charged only at conversion. Rate limit: 20 requests per minute.
post/upload-tokens
Request
- Base URL: https://api.bankstatemently.com/v1
- URL: https://api.bankstatemently.com/v1/upload-tokens
- Auth: API key in header X-API-Key
Response
Upload token minted.
Changes
No recorded changes to this operation across all 1 revision of this API.