Toshl Developer

Upload export file

Upload a new bank export file.

POST /bank/imports

Required scope:

Parameters

account
optional
string

Account id where the data will be imported.

import
optional
file

Import file

* denotes required field/parameter.

Request

$ curl https://api.toshl.com/bank/imports \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
  -X POST \
  -F 'account=ACCOUNT_ID' \
  -F 'import=@/path/to/file.csv'

Response

HTTP/1.1 201 Created
Location: https://api.toshl.com/bank/imports/42