sample endpoint for messages