When I did my integration it was in LotusScript
so I didn't have any XPages or Java example.
Twilio offers a REST Api, and also a Java library that can call that
REST api, but you can consume REST api with XPages, by doing a on google
for REST and XPages you can find informaiton. So it should be fairly
simple for a basic standard programmer to read the articles and do
the integration.