Fuente: https://crm.begraffic.com/docs/api
Índice para agentes: [llms.txt](https://crm.begraffic.com/llms.txt)

# GET /api/v1/messaging/channels

URL base: https://crm.begraffic.com. Autenticación: Authorization: Bearer <CLAVE_V1_bcrm_...>.

Definición OpenAPI de la operación (los bloques schema son esquemas, no cuerpos de ejemplo):

```json
{
  "operationId": "messaging.channels",
  "summary": "Números e integraciones disponibles para mensajería.",
  "description": "WhatsApp y SMS incluyen números; Telegram incluye `bot` (el predeterminado, sin token), `bots` (todos los bots conectados) y numbers vacío. canReceive=null significa que la recepción no está verificada. SMS y Telegram admiten texto con enlaces, sin botones nativos. Con canales limitados, solo los números y bots del alcance.",
  "tags": [
    "Conversaciones"
  ],
  "x-scope": "conversations:read",
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "parameters": [],
  "responses": {
    "200": {
      "description": "Página de resultados.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "nextCursor"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "channel": {
                      "type": "string",
                      "enum": [
                        "whatsapp",
                        "sms",
                        "telegram"
                      ]
                    },
                    "configured": {
                      "type": "boolean"
                    },
                    "bot": {
                      "description": "Telegram: el bot predeterminado (con canales limitados, el predeterminado del alcance).",
                      "type": "object",
                      "properties": {
                        "username": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "canSend": {
                          "type": "boolean"
                        },
                        "canReceive": {
                          "anyOf": [
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "username",
                        "canSend",
                        "canReceive"
                      ]
                    },
                    "bots": {
                      "description": "Telegram: todos los bots conectados (los del alcance de la credencial).",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "botId": {
                            "type": "string",
                            "description": "Id numérico del bot (`telegram:{botId}` en los canales)."
                          },
                          "username": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "isDefault": {
                            "type": "boolean"
                          },
                          "canSend": {
                            "type": "boolean"
                          },
                          "canReceive": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "botId",
                          "username",
                          "isDefault",
                          "canSend",
                          "canReceive"
                        ]
                      }
                    },
                    "numbers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "phoneNumberId": {
                            "type": "string"
                          },
                          "phoneNumber": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "wabaId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "isDefault": {
                            "type": "boolean"
                          },
                          "canSend": {
                            "type": "boolean"
                          },
                          "canReceive": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "reason": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "phoneNumberId",
                          "phoneNumber",
                          "wabaId",
                          "isDefault",
                          "canSend",
                          "canReceive",
                          "reason"
                        ]
                      }
                    },
                    "supportedMessageTypes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "balanceCents": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "channel",
                    "configured",
                    "numbers",
                    "supportedMessageTypes",
                    "balanceCents"
                  ]
                }
              },
              "nextCursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "`invalid_request`: Petición inválida (cuerpo, parámetros o consulta).",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "401": {
      "description": "`unauthorized`: Falta la clave, no existe, está revocada o caducó.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "403": {
      "description": "`insufficient_scope`: La clave no tiene el alcance que exige la ruta.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "429": {
      "description": "`rate_limited`: Demasiadas llamadas (límite por clave y minuto). Ver `Retry-After`.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "500": {
      "description": "`internal`: Error interno.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}
```
