---
title: "Create a test Item and processor token"
method: POST
path: "/sandbox/processor_token/create"
tags: ["plaid"]
---

# Create a test Item and processor token

`POST /sandbox/processor_token/create`

Use the `/sandbox/processor_token/create` endpoint to create a valid `processor_token` for an arbitrary institution ID and test credentials. The created `processor_token` corresponds to a new Sandbox Item. You can then use this `processor_token` with the `/processor/` API endpoints in Sandbox. You can also use `/sandbox/processor_token/create` with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data.

## Request body

- SandboxProcessorTokenCreateRequest — SandboxProcessorTokenCreateRequest defines the request schema for `/sandbox/processor_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.
  - `institution_id` string, required — The ID of the institution the Item will be associated with
  - `options` SandboxProcessorTokenCreateRequestOptions — An optional set of options to be used when configuring the Item. If specified, must not be `null`.
    - `override_username` string, nullable — Test username to use for the creation of the Sandbox Item. Default value is `user_good`.
    - `override_password` string, nullable — Test password to use for the creation of the Sandbox Item. Default value is `pass_good`.

## Response `200`

OK

- SandboxProcessorTokenCreateResponse — SandboxProcessorTokenCreateResponse defines the response schema for `/sandbox/processor_token/create`
  - `processor_token` string, required — A processor token that can be used to call the `/processor/` endpoints.
  - `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.

## Other responses

- `default` — Error response.

## Changes

- **2025-03-26** `09cbc8444913` — 2 warning
  - added the new `CHECK_REPORT_ERROR` enum value to the `error_type` response property for the response status `default`
  - added the new `CONSUMER_REPORT_ERROR` enum value to the `error_type` response property for the response status `default`
- **2024-09-04** `a2c34406c317` — 5 warning, 1 info
  - added the new `PARTNER_ERROR` enum value to the `error_type` response property for the response status `default`
  - added the new `SANDBOX_ERROR` enum value to the `error_type` response property for the response status `default`
  - added the new `TRANSACTIONS_ERROR` enum value to the `error_type` response property for the response status `default`
  - added the new `TRANSACTION_ERROR` enum value to the `error_type` response property for the response status `default`
  - …2 more
- **2024-02-21** `5de70cc1e6ca` — 3 warning, 11 info
  - removed the optional property `error_code_reason` from the response with the `default` status
  - removed the optional property `provided_account_subtypes` from the response with the `default` status
  - removed the optional property `required_account_subtypes` from the response with the `default` status
  - removed the `BASE_REPORT_ERROR` enum value from the `error_type` response property for the response status `default`
  - …10 more

[Change history](https://skmtc.dev/plaid/apis/the-plaid-api/changes/sandbox/processor_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/02e6d58e95e9/schema)
