yes you can save your message(language of your choice) as UDF at somewhere in tally and then send that message as text while calling API