API Grants functionality