---
title: "Create a deposit switch token"
method: POST
path: "/deposit_switch/token/create"
tags: ["plaid"]
---

# Create a deposit switch token

`POST /deposit_switch/token/create`

In order for the end user to take action, you will need to create a public token representing the deposit switch. This token is used to initialize Link. It can be used one time and expires after 30 minutes.

## Request body

- DepositSwitchTokenCreateRequest — DepositSwitchTokenCreateRequest defines the request schema for `/deposit_switch/token/create`
  - `client_id` string — Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body.
  - `secret` string — Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body.
  - `deposit_switch_id` string, required — The ID of the deposit switch

## Response `200`

OK

- DepositSwitchTokenCreateResponse — DepositSwitchTokenCreateResponse defines the response schema for `/deposit_switch/token/create`
  - `deposit_switch_token` string, required — Deposit switch token, used to initialize Link for the Deposit Switch product
  - `deposit_switch_token_expiration_time` string, required — Expiration time of the token, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format
  - `request_id` string, required — A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.

## Changes

- **2024-02-21** `5de70cc1e6ca` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/plaid/apis/the-plaid-api/changes/deposit_switch/token/create/post.md)

---

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