Add a query for opt-out to the api.