Asterisk Rest Interface and Monitor

Hi guys, I’m new in the asterisk project.
I tried todo mixmonitor and it’s able to record everything on channel, even the playback sound.

In asterisk rest interface I tried to record using bridge-record and channels-record, it works but it won’t work if I play sound.

Is there any way to monitor using asterisk rest api (because I don’t see if it’s possible)?

I see ami can do mixmonitor, but can it works with asterisk rest interface?

The REST API is meant for building applications - so it provides the tools to do so, but generally not individual applications. Using the Snoop API and the Channel Record you can implement your own MixMonitor otherwise MixMonitor itself is not available over the REST API. You can use AMI, though, to activate it on any channel.