Avalara · Schema

TokenResponse

TokenResponse schema from Avalara API

Taxes

Properties

Name Type Description
access_token string The OAuth 2.0 access token
token_type string
expires_in integer Token expiry time in seconds
scope string Granted scopes
refresh_token string Refresh token (if applicable)
View JSON Schema on GitHub

JSON Schema

portal-oauth-token-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalara/refs/heads/main/json-schema/portal-oauth-token-response-schema.json",
  "title": "TokenResponse",
  "description": "TokenResponse schema from Avalara API",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The OAuth 2.0 access token"
    },
    "token_type": {
      "type": "string",
      "enum": [
        "Bearer"
      ]
    },
    "expires_in": {
      "type": "integer",
      "description": "Token expiry time in seconds"
    },
    "scope": {
      "type": "string",
      "description": "Granted scopes"
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token (if applicable)"
    }
  }
}