Json modal actions

I have a json modal with a save button . I want to hit a api on clicking on save button. I can’t find any relevant information about how to hit api when a user clicks on save button in my json modal.

This is my json schema