Toshl Developer

Create a new connection

Create a new bank connection. If user does not have pro account with bank connections enabled, 403 Forbidden is returned.

POST /bank/connections

Required scope:

Parameters

institution
required
string

Institution id.

token
required
string

Token used to login user.

Request

$ curl https://api.toshl.com/bank/connections \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{json}'

Response

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