---
title: "Create Connect Token"
method: POST
path: "/connect_token"
tags: ["Auth"]
---

# Create Connect Token

`POST /connect_token`

Creates a connect token

## Request body

- ConnectTokenRequest — Create a connect token request payload
  - `itemId` string, uuid — Item identifier to allow Connect Widget to performan an update on it.
  - `options` ItemOptions — Item options available to send through connect tokens
    - `clientUserId` string — Client's external identifier for the user, it can be a ID, UUID or even an email. This is free for clients to use.
    - `webhookUrl` string — Url to be notified of this specific item changes
    - `oauthRedirectUri` string — Url to redirect the user after the connect flow
    - `avoidDuplicates` boolean — Avoids creating a new item if there is already one with the same credentials

## Response `200`

Created connect token

- ConnectTokenResponse — Connect token response
  - `accessToken` string, required — Connect token that's used to initialize Pluggy's Connect widget

## Other responses

- `403` — Unauthenticated
- `404` — Related itemId to update not found
- `500` — Unexpected error

---

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