Physical Optics Propagation was added to the API in the OS 20.3 release. You may find it in the Release Notes: OpticStudio20-3_ReleaseNotes.pdf (zemax.com)
Regarding how to run this specific analysis and how to adjust the POP settings from the API, this forum thread discusses this question in detail: Physical Optics Propagation (POP) - API settings · MyZemax
--Physical Optics Propagation and Matlab ZOS-API | Zemax Community