I can see from the Twilio Voice API Reference the OutgoingCallerIds resource enables programatic verification of Caller IDs with a voice call made to the user's phone.
The Twilio Console allows verification of Caller IDs via both voice and text so hoping: Is there a parameter to enable programatic verification via text as well?