Toshl Developer

Merge accounts

Merge multiple accounts into one. All entries and budgets with the selected accounts will be updated. After merging the selected accounts will be deleted.

POST /accounts/merge

Required scope:

Parameters

accounts *
required
array

Account ids to merge.

account *
required
string

Account id to merge selected categories into.

* denotes required field/parameter.

Request

$ curl https://api.toshl.com/accounts/merge \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{"accounts": ["42", "43"], "account": "44"}'

Response

HTTP/1.1 204 No Content