{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/waspytech-com/json-schema/waspytech-com-get-channels-response-schema.json",
  "title": "GetChannelsResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/waspytech-com-openapi-generated.yml#/components/schemas/GetChannelsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Lista de canales conectados."
    },
    "data[].id": {
      "type": "string",
      "description": "ID interno del canal. Usalo en `POST /messages`"
    },
    "data[].phoneNumber": {
      "type": "string",
      "description": "Número con código de país"
    },
    "data[].displayName": {
      "type": "string",
      "description": "Nombre visible en WhatsApp"
    },
    "data[].phoneNumberId": {
      "type": "string",
      "description": "ID del número en Meta"
    },
    "data[].wabaId": {
      "type": "string",
      "description": "ID de la cuenta de WhatsApp Business en Meta"
    },
    "data[].qualityRating": {
      "type": "string",
      "description": "Calidad del número según Meta: `GREEN`, `YELLOW`, `RED`"
    },
    "data[].status": {
      "type": "string",
      "description": "Estado de conexión: `connected`, `disconnected`"
    },
    "data[].webhookVerified": {
      "type": "boolean",
      "description": "Si el webhook de Meta está verificado"
    },
    "meta": {
      "type": "object",
      "description": "Metadatos de la respuesta."
    },
    "meta.requestId": {
      "type": "string",
      "description": "Identificador de la solicitud"
    }
  }
}