Use batch request to get messages