Added API toggle