Building a Kotlin service to orchestrate Genesys Cloud Architect flows via the API. We want to call a shared Common Module from multiple inbound call flows to handle IVR logic. The documentation is sparse on triggering external flows programmatically.
Tried POST /api/v2/architect/flows/{id}/execute but it requires a specific flow ID, not a module reference. Is there an endpoint to invoke a reusable module directly, or should we duplicate the logic in each inbound flow? Stuck on the API call structure.