API support for sending single messages