Refresh an access token
pinterest_refresh_access_tokenExchange a Pinterest refresh token for a new access token when API calls fail with 401 errors, restoring authenticated access.
Instructions
Trade a refresh token for a fresh access token. Use this when calls start failing with 401.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optionally narrow the new token to a subset of the original scopes. | |
| app_id | No | Falls back to PINTEREST_APP_ID. | |
| app_secret | No | Falls back to PINTEREST_APP_SECRET. | |
| refresh_token | Yes | The refresh token from the original exchange. |