Genesys Cloud Architect: Calling Common Module from Inbound Flow

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.

You can’t call a module directly via API. Modules are internal blocks, not endpoints. You’ll need to trigger the parent inbound flow instead.

{
 "flowId": "your-inbound-flow-id",
 "parameters": {
 "skipToModule": "true"
 }
}