POST /oauth/token
/oauth/token
issues an access token and refresh token depending on the grant_type
provided. This endpoint supports Content-Type: application/x-www-form-urlencoded
as well as JSON. The fields for the form are equivalent to the fields for JSON and conform to the OAuth 2.0 specification.
Servers
- https://production.plaid.com
- https://sandbox.plaid.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
subject_token |
String | No |
Token representing the subject. The |
client_id |
String | No |
Your Plaid API |
client_secret |
String | No |
Your Plaid API |
resource |
String | No |
URI of the target resource server |
grant_type |
String | Yes |
The type of OAuth grant being requested:
Possible values:
|
scope |
String | No |
A JSON string containing a space-separated list of scopes associated with this token, in the format described in https://datatracker.ietf.org/doc/html/rfc6749#section-3.3. Currently accepted values are:
|
subject_token_type |
String | No |
The type of the subject token.
Possible values:
|
secret |
String | No |
Your Plaid API |
refresh_token |
String | No |
Refresh token for OAuth |
audience |
String | No |
Used when exchanging a token. The meaning depends on the |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.