---
title: "Import transactions"
method: POST
path: "/plans/{plan_id}/transactions/import"
tags: ["Transactions"]
---

# Import transactions

`POST /plans/{plan_id}/transactions/import`

Imports available transactions on all linked accounts for the given plan.  Linked accounts allow transactions to be imported directly from a specified financial institution and this endpoint initiates that import.  Sending a request to this endpoint is the equivalent of clicking "Import" on each account in the web application or tapping the "New Transactions" banner in the mobile applications.  The response for this endpoint contains the transaction ids that have been imported.

## Path parameters

- `plan_id` string, required

## Response `200`

The request was successful but there were no transactions to import

- TransactionsImportResponse
  - `data` object, required
    - `transaction_ids` string[], required — The list of transaction ids that were imported.

## Other responses

- `201` — One or more transactions were imported successfully
- `400` — The request could not be understood due to malformed syntax or validation error(s)

---

[API](https://skmtc.dev/ynab/apis/ynab-api-endpoints.md) · [All operations](https://skmtc.dev/ynab/apis/ynab-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ynab/ynab-api-endpoints/revisions/da7a78345b34/schema)
