REST API

Tech support: can you answer this question for me please? Shopify Plus support forwarded me here, but I’ve had no response.

Is there an API call available so I can capture SMS OptIn events in real time using the Shopify REST API?

Do you have any examples available for the coding?