AT&T · Schema

TokenResponse

TokenResponse schema from AT&T API

Fortune 100TelecommunicationsWirelessWirelineMessagingSpeechMobileBroadbandEnterprise

Properties

Name Type Description
access_token string OAuth access token valid for 2 days (172800 seconds)
expires_in integer Token expiration time in seconds (default 172800)
refresh_token string Refresh token valid for 90 days
token_type string Token type (always BEARER)
View JSON Schema on GitHub

JSON Schema

sms-api-token-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/at-and-t/refs/heads/main/json-schema/sms-api-token-response-schema.json",
  "title": "TokenResponse",
  "description": "TokenResponse schema from AT&T API",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "OAuth access token valid for 2 days (172800 seconds)",
      "example": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
    },
    "expires_in": {
      "type": "integer",
      "description": "Token expiration time in seconds (default 172800)",
      "example": 172800
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token valid for 90 days",
      "example": "f6e5d4c3b2a1f6e5d4c3b2a1f6e5d4c3"
    },
    "token_type": {
      "type": "string",
      "description": "Token type (always BEARER)",
      "example": "BEARER"
    }
  }
}