Skip to content

Developer Platform

Search docs & API
Log in
Sign up

Token Debugger

Use the
Token Debugger
; Opens a new tab
to see information about Pinterest API access tokens, so that you can troubleshoot access issues for your app users or yourself.
  • Check to see if a token is expired.
  • Determine if a token is invalid.
  • Check scopes to determine whether a user has insufficient or excessive access to Pinterest API resources.
  • See additional information that is relevant to the token or user.

Check an access token

You can debug an OAuth2 access or refresh token under the following conditions:
  • The token is for an app that is registered with Pinterest.
  • The token is for your own account or that of your app users.
  • The token is for accessing Version 5 of the Pinterest API.
To use the debugger:
  1. Go to the Token Debugger page.
  2. In the text box, enter the full token string, including the
    pina
    or
    pinr
    prefix.
  3. Click Debug.
Token debugger output

Displayed token information

For supported tokens, the debugger displays the following fields. In some cases, the debugger displays error messages for certain fields.
token debugger output fields
FieldDescriptionError message (if applicable)
Environment
Environment in which the token can be used: - Production, which is used by all Pinterest users and advertisers - Sandbox, which developers use to test their Pinterest API integration
N/A
App ID
ID of the app for which the token was created, also called the Client ID.
App is deactivated. Please submit appeal in Help Center.
User IDID of the Pinterest account associated with the token.User is deactivated. Please reactivate your account.
CreatedDate and time of the token's creation.N/A
ExpiredDate and time of the token's expiration.N/A
Login State
Whether the user session associated with the token is currently active (Logged in) or expired (Logged out).
Session is expired. Please generate a new token.
Scopes
Permissions that your users give your app to act on their behalf within Pinterest.
N/A
Was this page helpful?