Box · Schema

Refresh access token

A request to refresh an Access Token. Use this API to refresh an expired Access Token using a valid Refresh Token.

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing

Properties

Name Type Description
grant_type string The type of request being made, in this case a refresh request.
client_id string The client ID of the application requesting to refresh the token.
client_secret string The client secret of the application requesting to refresh the token.
refresh_token string The refresh token to refresh.
View JSON Schema on GitHub

JSON Schema

box-postoauth2token-refreshaccesstoken-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PostOAuth2Token--RefreshAccessToken",
  "title": "Refresh access token",
  "type": "object",
  "description": "A request to refresh an Access Token. Use this API to refresh an expired\nAccess Token using a valid Refresh Token.",
  "required": [
    "grant_type",
    "client_id",
    "client_secret",
    "refresh_token"
  ],
  "properties": {
    "grant_type": {
      "type": "string",
      "format": "urn",
      "example": "refresh_token",
      "description": "The type of request being made, in this case a refresh request.",
      "enum": [
        "refresh_token"
      ]
    },
    "client_id": {
      "type": "string",
      "description": "The client ID of the application requesting to refresh the token.",
      "example": "ly1nj6n11vionaie65emwzk575hnnmrk"
    },
    "client_secret": {
      "type": "string",
      "description": "The client secret of the application requesting to refresh the token.",
      "example": "hOzsTeFlT6ko0dme22uGbQal04SBPYc1"
    },
    "refresh_token": {
      "type": "string",
      "format": "token",
      "description": "The refresh token to refresh.",
      "example": "c3FIOG9vSGV4VHo4QzAyg5T1JvNnJoZ3ExaVNyQWw6WjRsanRKZG5lQk9qUE1BVQ"
    }
  }
}