reg api works