add plans api