Thanks for your answer.
Yes, I've done it. I can trigger the action, but when it is supposed to run an event, it does not work. It skips the event that was waiting in the playlist without running it, or it only plays the audio file without running start or end event.
And this occurs only with MIDI plugin or API Rest call.
I don't know if I can share a video here to show you what happen.