---
title: "Exchange token (Plaid)"
method: POST
path: "/auth/plaid/exchange"
---

# Exchange token (Plaid)

`POST /auth/plaid/exchange`

## Request body

- PlaidExchangeBodySchema
  - `token` string, required

## Response `200`

Retrieve Exchange

- PlaidExchangeSchema
  - `data` object, required
    - `access_token` string, required

## Other responses

- `400` — Returns an error

## Changes

- **2024-07-23** `1515e7c2644a` — 1 breaking, 1 warning
  - the `code` response's property type/format changed from `number`/`` to `string`/`` for status `400`
  - removed the optional property `details` from the response with the `400` status
- **2024-07-23** `85b4f43c2bb3` — 2 info
  - added the optional property `details` to the response with the `400` status
  - added the required property `requestId` to the response with the `400` status
- **2024-07-05** `b620765f2663` — 1 breaking, 1 info
  - removed the required property `access_token` from the response with the `200` status
  - added the required property `data` to the response with the `200` status
- **2024-06-19** `4b6f2f46a13d` — 3 breaking, 1 warning, 2 info
  - added the new required request property `token`
  - the request's body type/format changed from ``/`` to `object`/``
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - removed `#/components/schemas/Auth, subschema #2` from the request body `allOf` list
  - …2 more

[Change history](https://skmtc.dev/midday-ai/apis/midday-engine-api/changes/auth/plaid/exchange/post.md)

---

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