Add methods to generate api calls for basic messages