Adding the note api