Adding messages API