allow package to send message param to api.