adding a response key "status" to get_messages_by_id