Add 'api' as allowed property