New types of detectors based on the wide band gap material AlGaAs have been developed for soft X-ray spectroscopy applications. We report on the spectroscopic performance of simple p-i-n diodes and avalanche photodiodes (APDs). A number of diode types with different layer thicknesses have also been characterised. X-ray spectra from 55 Fe and 109 Cd radioactive sources show these diodes can be used for spectroscopy with promising energy resolution (1.0-1.25 keV) over a -30 to +90 • C temperature range. The temperature dependence of the avalanche multiplication process at soft X-ray energies in Al 0.8 Ga 0.2 As APDs was also investigated at temperatures from -20 to +80 • C. The temperature dependence of the pure electron initiated multiplication factor (M e ) and the mixed carrier initiated avalanche multiplication factor (M mix ) were extracted from the X-ray spectra. The experimental results are compared with a spectroscopic Monte Carlo model for Al 0.8 Ga 0.2 As diodes from which the temperature dependence of the pure hole initiated multiplication factor (M h ) is determined.Monte Carlo simulations for the avalanche gain of absorbed X-ray photons have also been developed to study the relationship between avalanche gain and energy resolution for semiconductor X-ray avalanche photodiodes. The model showed that the distribution of gains, which directly affects the energy resolution, depends on the number of injected electron-hole pairs (and hence the photon energy), the relationship between the two ionization coefficients, and the overall mean