{"version":"1.0","type":"rich","title":"Twilio SMS API (NodeJS snippet)","description":"This example demonstrates how to send an SMS message through the Twilio SMS API using Node.js. The code initializes the Twilio client with account credentials from environment variables, then defines a POST route that accepts a phone number and name from the request body. It calls `twilio.sendMessage` to deliver a personalized greeting, handling success and error responses with appropriate HTTP status codes. The snippet shows the complete workflow from environment configuration to message transmission.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-6e67cb8a07bea72a47da0fd2c1319a0a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}