ADD support to API v2

Very alpha staged, only "send notifications" has been tested so far.