Hi,
There is no API endpoint for that at the moment, but one is being considered for the next version, version 4.7.