The premise that the United States "intervened politically to get a treaty for a canal with Colombia" is historically inverted. The U.S. failed to secure a Colombian treaty, then facilitated Panama's secession to obtain canal rights from the new republic.
The Hay–Herrán Treaty (Jan 1903) between U.S. Secretary of State John Hay and Colombian Chargé Tomás Herrán granted the U.S. a 100-year lease on a 10-km canal zone for $10M + $250K/year. The U.S. Senate ratified it. Colombia's Senate rejected it unanimously (Aug 1903)—demanding more money ($25M), sovereignty protections, and objecting to perpetuity clauses.
Rather than negotiate further with Colombia, the Roosevelt administration supported Panamanian separatists who had long sought independence from Bogotá.
The U.S. did intervene politically—in Panama's favor, against Colombia. This "gunboat diplomacy" / "dollar diplomacy" episode established a century of U.S.–Panama relations defined by the Canal Zone (returned 1999 per Torrijos–Carter Treaties) and lingering Colombian resentment (addressed partially by 1921 Thomson–Urrutia Treaty: $25M indemnity).
Theodore Roosevelt (President), John Hay (SecState), Philippe Bunau-Varilla (Panama envoy, French canal company veteran), José Manuel Marroquín (Colombian President), Manuel Amador Guerrero (Panama's first President).