Create Link Token
Changed onThe /link/token/create endpoint creates a link_token, which is required as a parameter when initializing Link. Once Link has been initialized, it returns a public_token. For most Plaid products, the public_token is saved and exchanged for an access_token via /item/public_token/exchange as part of the main Link flow. For more details, see the Link flow overview.
A link_token generated by /link/token/create is also used to initialize other Link flows, such as the update mode flow for tokens with expired credentials, or the Identity Verification flow.
Request
- Base URLhttps://production.plaid.com
- URLhttps://production.plaid.com/link/token/create
- Auth
- API key in header PLAID-CLIENT-ID and API key in header PLAID-SECRET and API key in header Plaid-Version
- or OAuth 2Client credentialsToken URL: https://api.plaid.com/oauth2/apiv2/token scopes: link:write
Request body
Example request
{
"user": {
"name": {
"given_name": "Leslie",
"family_name": "Knope"
},
"address": {
"street": "123 Main St.",
"street2": "Unit 42",
"city": "Pawnee",
"region": "IN",
"postal_code": "46001",
"country": "US"
},
"id_number": {
"value": "123456789",
"type": "us_ssn"
}
},
"identity_verification": {
"template_id": "idvtmp_4FrXJvfQU3zGUR",
"consent": true,
"gave_consent": true
}
}Response
OK
Changes
- breaking
added
subschema #2to the/request propertyallOflist - breaking
the request property
/became required - breaking
the request property
/became required - breaking
removed the enum value
CLIENT_USERof the request property/ - breaking
removed the enum value
PLAID_NETWORKof the request property/ - breaking
the
/request property type changed fromstringto no type - warning
removed the request property
//// - warning
added the new
CRA_PARTNER_INSIGHTS_ERRORenum value to theresponse property for the response status - warning
added the new
CRA_REPORT_ERRORenum value to theresponse property for the response status - info
added the new optional request property
/ - info
added the new optional request property
//// - info
added the new optional request property
/ - info
added
cra_lend_score_completecra_income_completediscriminator mapping keys to the//request property - info
added to the
//request propertyoneOflist
- breaking
- breaking
removed the enum value
charge cardof the request property/// - breaking
removed the enum value
installmentof the request property/// - info
the endpoint scheme security
clientId AND secret AND plaidVersionwas added to the API - info
the endpoint scheme security
oauth2was added to the API - info
added the new optional request property
- breaking