FreePBX IVR with external API connection

Might also be an approach you can use - it depends on how you want to hit the API.