Xero · Schema

AccessToken

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
id_token string Xero unique identifier
access_token string access token provided during authentication flow
expires_in integer time in seconds until access token expires.
token_type string type of token i.e. Bearer
refresh_token string token used to refresh an expired access token
View JSON Schema on GitHub

JSON Schema

xero-accesstoken-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccessToken",
  "title": "AccessToken",
  "externalDocs": {
    "url": "http://developer.xero.com"
  },
  "type": "object",
  "properties": {
    "id_token": {
      "description": "Xero unique identifier",
      "type": "string"
    },
    "access_token": {
      "description": "access token provided during authentication flow",
      "type": "string"
    },
    "expires_in": {
      "description": "time in seconds until access token expires.",
      "type": "integer",
      "format": "int64"
    },
    "token_type": {
      "description": "type of token i.e. Bearer",
      "type": "string"
    },
    "refresh_token": {
      "description": "token used to refresh an expired access token",
      "type": "string"
    }
  }
}