WSO2 · Schema

Application token details to invoke APIs

ApplicationToken schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
accessToken string Access token
tokenScopes array Valid comma seperated scopes for the access token
validityTime integer Maximum validity time for the access token
View JSON Schema on GitHub

JSON Schema

devportal-api-application-token-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/devportal-api-application-token-schema.json",
  "title": "Application token details to invoke APIs",
  "description": "ApplicationToken schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "accessToken": {
      "type": "string",
      "description": "Access token",
      "example": "1.2345678901234568E30"
    },
    "tokenScopes": {
      "type": "array",
      "description": "Valid comma seperated scopes for the access token",
      "example": [
        "default",
        "read_api",
        "write_api"
      ],
      "items": {
        "type": "string"
      }
    },
    "validityTime": {
      "type": "integer",
      "description": "Maximum validity time for the access token",
      "format": "int64",
      "example": 3600
    }
  }
}