ETLMCPData Conveyance Works
Log in Start free
Guides

Pinterest tokens: 30-day access, 60-day continuous refresh

Pinterest access tokens last 30 days and refresh tokens 60, renewed on every refresh. A connection left unused for 60 days needs a new consent.

Coming This connector is coming.

A Pinterest access token is good for 30 days. The refresh token behind it is good for 60 days, and every refresh hands back a fresh 60-day refresh token, so a connection that keeps refreshing never runs out. The catch is the gap: if nothing refreshes the connection for 60 days, the refresh token dies and the Pinterest user has to approve the app again. There is no yearly ceiling any more: keep the connection in use and it stays alive.

Pinterest's rules, in short

Token Lifetime What renews it
Access token 30 days (expires_in of 2,592,000 seconds) A refresh with the refresh token
Continuous refresh token 60 days Each refresh returns a new one with a fresh 60 days
Legacy refresh token 365 days, fixed Nothing: Pinterest no longer supports it

Pinterest's guide puts it this way: it "only supports the continuous refresh token". The older token, which had a hard one-year limit, is gone.

Which kind an app receives depends on when the app was created in Pinterest's developer portal:

  • Apps created on or after September 25, 2025 get a continuous refresh token by default. Nothing extra is needed.
  • Apps created before September 25, 2025 must add continuous_refresh=true to the token request to receive one.

Each token response tells you how long you have. expires_in is the access token's life in seconds and refresh_token_expires_in the refresh token's. A response to a refresh also carries refresh_token_expires_at, the refresh token's end as a Unix timestamp.

A refresh is a POST to Pinterest's token endpoint with grant_type set to refresh_token and the refresh token itself (Pinterest's refresh tokens start with pinr). The app's client id and secret go in an HTTP Basic header. An optional scope may ask for fewer scopes than the user first granted, never more.

When a refresh token has expired, no request can revive it. Pinterest's answer is to send the user through the authorization code flow again, from the redirect to the consent screen.

What this means for a reporting connection

The 60 days count from the last refresh, not from the first consent. A Pinterest connection used every day or every week refreshes about once a month, when its access token nears its end, and each of those refreshes restarts the 60-day clock.

The connections that die are the quiet ones: an ad account you paused for a season, a pipeline you switched off while a client was between campaigns, a test connection nobody touched. After 60 days without a refresh, the next use fails, and only a new consent from a Pinterest user with access to the ad account fixes it.

What etlmcp does

When the Pinterest connector is available, etlmcp handles the refresh cycle like this.

  • It refreshes on use. etlmcp checks the stored access token whenever something needs the connection, such as a sync, and renews it shortly before it runs out. It does not refresh idle connections on a timer. A connection that nothing uses, such as one with every pipeline off, is not refreshed, so it can lapse after 60 days.
  • It keeps the newest refresh token. Every refresh stores the refresh token Pinterest returns in place of the old one, and keeps the old one only if a response carried none. The refresh runs under a lock on the connection, so two syncs never spend the same refresh token at once.
  • Its refresh request is plain. etlmcp sends the grant type and the refresh token, with the app's id and secret in a Basic header. It does not send continuous_refresh or scope.
  • It gives no advance warning. etlmcp's daily check for expiring connections covers only platforms whose tokens cannot renew themselves, and Pinterest is not one of them. The sources page shows no "access ends" date for a Pinterest connection either.
  • A dead refresh token stops the connection. If Pinterest's token endpoint answers with its code 283, or with a 400 or 401 that does not blame etlmcp's app credentials, etlmcp treats the grant as dead rather than retrying. The connection and its sources are marked as needing a reconnect with the reason access was revoked or has expired, and your organization's owners get an email titled "Reconnect Pinterest". Syncs from Pinterest pause until someone reconnects, then resume by themselves.

After a reconnect, the next routine sync reaches back far enough to cover the days missed while the connection was down, within the history your plan keeps (plans).

What you should do

  1. Keep at least one pipeline on each Pinterest connection you want to keep. A daily or weekly sync is enough to keep the refresh token renewed.
  2. Before you switch every pipeline on a connection off for two months or more, expect to reconnect when you turn them back on.
  3. Reconnect as a Pinterest user with access to the ad account. etlmcp reads reports only for users with the Owner, Admin, Analyst or Campaign Manager role on the account.
  4. If you build your own Pinterest integration from an app created before September 25, 2025, send continuous_refresh=true on your token requests.

Pinterest connector errors covers the other messages a Pinterest sync can end with, and needs reconnecting walks through the reconnect itself.

Related

Sources

  1. Set up authentication and authorization — developers.pinterest.com, checked