A novel, gas-tight API interface for gas chromatography-mass spectrometry was used to study the ionization mechanism in direct and dopant-assisted atmospheric pressure photoionization (APPI) and atmospheric pressure laser ionization (APLI). Eight analytes (ethylbenzene, bromobenzene, naphthalene, anthracene, benzaldehyde, pyridine, quinolone, and acridine) with varying ionization energies (IEs) and proton affinities (PAs), and four common APPI dopants (toluene, acetone, anisole, and chlorobenzene) were chosen. All the studied compounds were ionized by direct APPI, forming mainly molecular ions. Addition of dopants suppressed the signal of the analytes with IEs above the IE of the dopant. For compounds with suitable IEs or Pas, the dopants increased the ionization efficiency as the analytes could be ionized through dopant-mediated gas-phase reactions, such as charge exchange, proton transfer, and other rather unexpected reactions, such as formation of [Mâ+â77](+) in the presence of chlorobenzene. Experiments with deuterated toluene as the dopant verified that in case of proton transfer, the proton originated from the dopant instead of proton-bound solvent clusters, as in conventional open or non-tight APPI sources. In direct APLI using a 266 nm laser, a narrower range of compounds was ionized than in direct APPI, because of exceedingly high IEs or unfavorable two-photon absorption cross-sections. Introduction of dopants in the APLI system changed the ionization mechanism to similar dopant-mediated gas-phase reactions with the dopant as in APPI, which produced mainly ions of the same form as in APPI, and ionized a wider range of analytes than direct APLI.