Webservices command to add number to stoplist

I need to add a number to the global stoplist if a text is received from a number with the string ‘STOP’ in it. Any ideas on how to make that happen? Is there a command in the webservices api to allow that?