Added toggle api file