{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/august-health/json-schema/august-health-com-august-api-integrations-models-tokens-v1-create-token-response-schema.json",
  "title": "com.august.api.integrations.models.tokens.v1.CreateTokenResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/august-health-tokens-v1-api-openapi.yml#/components/schemas/com.august.api.integrations.models.tokens.v1.CreateTokenResponse",
  "properties": {
    "expiresIn": {
      "description": "The expiration period in seconds.",
      "format": "int32",
      "type": "integer"
    },
    "idToken": {
      "description": "The authentication id token for the user",
      "type": "string"
    },
    "refreshToken": {
      "description": "The refresh token for the user. This can be used to obtain another id token using the [](RefreshCredentials) token auth flow. Currently, this field will only be specified when using the [](UserCredentials) token auth flow. Once the refresh token has expired a new [](UserCredentials) token auth flow must be initiated to get a new refresh token.",
      "type": "string"
    },
    "tokenType": {
      "type": "string"
    }
  },
  "required": [
    "expiresIn",
    "idToken",
    "tokenType"
  ]
}