feat(api): implemented new API