Migrated: API (still trying to get auth working with CompoundJS).