Filtering messages by person id in api