bi‑directional api integration