AT&T Developer Hub · Schema

ThreatSubscriptionRequest

ThreatSubscriptionRequest schema

Fortune 1005GNetwork APIsCAMARAConnectivityTelecommunicationsEdge ComputingDevice StatusSIM Swap

Properties

Name Type Description
device object
notificationUrl string Webhook URL for threat alert notifications
minRiskLevel string Minimum risk level to trigger notifications
notificationAuthToken string Bearer token for webhook authentication
View JSON Schema on GitHub

JSON Schema

mobility-threat-anomaly-detection-api-threat-subscription-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/at-t-developer-hub/refs/heads/main/json-schema/mobility-threat-anomaly-detection-api-threat-subscription-request-schema.json",
  "title": "ThreatSubscriptionRequest",
  "description": "ThreatSubscriptionRequest schema",
  "type": "object",
  "required": [
    "device",
    "notificationUrl"
  ],
  "properties": {
    "device": {
      "type": "object",
      "properties": {
        "phoneNumber": {
          "type": "string",
          "description": "Mobile phone number in E.164 format",
          "example": "+12125551234"
        }
      }
    },
    "notificationUrl": {
      "type": "string",
      "format": "uri",
      "description": "Webhook URL for threat alert notifications",
      "example": "https://webhook.example.com/threats"
    },
    "minRiskLevel": {
      "type": "string",
      "description": "Minimum risk level to trigger notifications",
      "enum": [
        "LOW",
        "MEDIUM",
        "HIGH",
        "CRITICAL"
      ],
      "example": "MEDIUM"
    },
    "notificationAuthToken": {
      "type": "string",
      "description": "Bearer token for webhook authentication",
      "example": "webhook-token-abc123"
    }
  }
}