The solution will depend on the volume of messages and how often you are expecting them. The advised interval is every 5 minutes. in case you anticipate a lot of website traffic, it is best to make use of the callback https://janicefdwv190534.blogoxo.com/30259362/everything-about-sms-messages-api