---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Retrieve Token Info

Returns the store your access token is for and the scopes your app was granted. Use it to check a token before you call other endpoints.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "App partners API",
    "description": "Endpoints for apps that Yotpo merchants install. The app-level webhook is defined separately, in webhooks.json.",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://developers.yotpo.com"
    }
  ],
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/v2/{account_id}/info": {
      "get": {
        "summary": "Retrieve Token Info",
        "description": "Returns the store your access token is for and the scopes your app was granted. Use it to check a token before you call other endpoints.",
        "operationId": "retrieve-token-info",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your Store ID (app key)."
          }
        ],
        "responses": {
          "200": {
            "description": "The token's store and scopes.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "status": {
                        "code": 200,
                        "message": "OK"
                      },
                      "pagination": {
                        "page": 0,
                        "count": 0,
                        "total": 0
                      },
                      "auth_info": {
                        "account_id": "YOUR_STORE_ID",
                        "authorized_scopes": [
                          "reviews_read",
                          "users_read",
                          "products_read",
                          "coupons_read",
                          "coupons_write",
                          "webhooks",
                          "reviews_manage"
                        ]
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "description": "Request status.",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP status code.",
                          "example": 200
                        },
                        "message": {
                          "type": "string",
                          "description": "Status message, such as `OK`.",
                          "example": "OK"
                        }
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "description": "Not used by this endpoint: all values are `0`.",
                      "properties": {
                        "page": {
                          "type": "integer",
                          "description": "Always `0`."
                        },
                        "count": {
                          "type": "integer",
                          "description": "Always `0`."
                        },
                        "total": {
                          "type": "integer",
                          "description": "Always `0`."
                        }
                      }
                    },
                    "auth_info": {
                      "type": "object",
                      "description": "What the token gives access to.",
                      "properties": {
                        "account_id": {
                          "type": "string",
                          "description": "The Store ID (app key) the token is for."
                        },
                        "authorized_scopes": {
                          "type": "array",
                          "description": "The scopes your app was granted on this store, such as `reviews_read` or `coupons_write`.",
                          "items": {
                            "type": "string",
                            "description": "A scope name."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid access token. Send a valid token in the `X-Yotpo-Token` header.",
            "content": {
              "application/json": {
                "examples": {
                  "Missing token": {
                    "summary": "No token sent (or sent as Authorization: Bearer)",
                    "value": {
                      "error": "invalid_request",
                      "error_description": "The access token is missing"
                    }
                  },
                  "Invalid token": {
                    "summary": "Token unknown, revoked or for another app",
                    "value": {
                      "error": "invalid_token",
                      "error_description": "The access token is invalid or has expired"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "OAuth error code: `invalid_request` when no token was sent, `invalid_token` when the token is unknown, revoked or expired.",
                      "enum": [
                        "invalid_request",
                        "invalid_token"
                      ]
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The token isn't for this account: the `account_id` in the path belongs to a store your app isn't installed on.",
            "content": {
              "application/json": {
                "examples": {
                  "Another store": {
                    "value": {
                      "message": "Forbidden"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Always `Forbidden`."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Send your app's access token for the merchant's store in the `X-Yotpo-Token` header of every request. To get a token, see [Generate Access Token](ref:generate-a-token). The API also reads the token from an `access_token` query parameter, but that isn't recommended: URLs end up in server and proxy logs. `Authorization: Bearer` is not supported."
      }
    }
  }
}
```

# Sibling pages

* [Table of Contents](https://docs.yotpo.com/reference/partners-table-of-contents.md)
* [Guidelines and Conventions](https://docs.yotpo.com/reference/partners-guidelines-and-conventions.md)
* [Changelog](https://docs.yotpo.com/reference/partners-changelog.md)
* [Generate Access Token](https://docs.yotpo.com/reference/generate-a-token.md)
* [Remove Application](https://docs.yotpo.com/reference/remove-application.md)
* [Yotpo Postman Collection](https://docs.yotpo.com/reference/yotpo-postman-collection.md)