{"id":9762,"date":"2023-08-09T13:19:38","date_gmt":"2023-08-09T20:19:38","guid":{"rendered":"https:\/\/www.serviceobjects.com\/docs\/?page_id=9762"},"modified":"2025-08-21T23:16:57","modified_gmt":"2025-08-22T06:16:57","slug":"tv-sendsms","status":"publish","type":"page","link":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/","title":{"rendered":"TV &#8211; SendSMS"},"content":{"rendered":"<nav aria-label=\"SendSMS Navigation\">\n<ul class=\"is-style-bullets-list\">\n<li><a href=\"#TV-SendSMS-URLEndpoints\">URL Endpoints<\/a><\/li>\n<li><a href=\"#TV-SendSMS-GetSecondaryNumbersInputs\">GetSecondaryNumbers Inputs<\/a><\/li>\n<li><a href=\"#TV-PlaceCall-SendSMSOutputs\">GetSecondaryNumbers Outputs<\/a><\/li>\n<\/ul>\n<\/nav>\n<p>&nbsp;<\/p>\n<article class=\"wp-block-paragraph\" aria-label=\"SendSMS Operation Description\">The SendSMS operation sends a text message containing a verification code to the phone number specified. Applications should require the end user to enter the same code to verify he is accessible via this phone number.<\/article>\n<section aria-labelledby=\"TV-SendSMS-URLEndpoints\">\n<h2 id=\"TV-SendSMS-URLEndpoints\" class=\"wp-block-heading\">URL Endpoint<\/h2>\n<ul class=\"is-style-no-bullets-indented-list\">\n<li><strong>XML:<\/strong>\n<ul class=\"is-style-no-bullets-indented-list\">\n<li><a href=\"https:\/\/trial.serviceobjects.com\/tv\/TelephoneVerification.asmx\/SendSMS?CountryCode={COUNTRYCODE}&amp;PhoneNumber={PHONENUMBER}&amp;Message={MESSAGE}&amp;LicenseKey={LICENSEKEY}\">https:\/\/trial.serviceobjects.com\/tv\/TelephoneVerification.asmx\/SendSMS?CountryCode={COUNTRYCODE}&amp;PhoneNumber={PHONENUMBER}&amp;Message={MESSAGE}&amp;LicenseKey={LICENSEKEY}<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>\n<section aria-labelledby=\"TV-SendSMS-SendSMSInputs\">\n<h2 id=\"TV-SendSMS-SendSMSInputs\" class=\"wp-block-heading\">SendSMS Inputs<\/h2>\n<figure class=\"wp-block-table is-style-table-section\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>CountryCode<\/td>\n<td>String<\/td>\n<td>CountryCode of the destination phone number<\/td>\n<\/tr>\n<tr>\n<td>PhoneNumber<\/td>\n<td>String<\/td>\n<td>Phone number to be verified.<\/td>\n<\/tr>\n<tr>\n<td>Message<\/td>\n<td>String<\/td>\n<td>Your verification message, containing a random code<\/td>\n<\/tr>\n<tr>\n<td>LicenseKey<\/td>\n<td>String<\/td>\n<td>Your license key<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<section class=\"wp-block-group is-style-card-note\" aria-label=\"Important Notes\">\n<article aria-label=\"Notes header\"><strong>Important Notes!<\/strong><\/article>\n<ul>\n<li>As of May 1, 2010, the only CountryCode supported is 1 (USA and Canada). As more CountryCodes are supported, the cost for the SendSMS operation may be determined by destination countries or regions.<\/li>\n<li>The contents of the Message input must be no more than 140 characters. Most commonly-used characters are supported, such as alphanumeric, punctuation, and most characters you can type on a cell phone. Unsupported characters will be removed from the Message. For a list of supported characters, see Appendix A \u2013 Supported SMS Characters.<\/li>\n<li>We recommend a simple Message string, such as &#8220;Your verification code is: XXX&#8221; to verify phone numbers. You should generate your codes randomly (do not generate them from a system&#8217;s internal clock, for example). The verification codes should be stored in server-side session variables or in a database&#8212;they should remain unknown to the end user except through the text message. For example, do not use a form variable to post the verification code from page to page.<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section aria-labelledby=\"TV-PlaceCall-SendSMSOutputs\">\n<h2 id=\"TV-PlaceCall-SendSMSOutputs\" class=\"wp-block-heading\">SendSMS Outputs<\/h2>\n<article aria-label=\"Empty paragraph\"><\/article>\n<figure class=\"wp-block-table is-style-table-section\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Description<\/td>\n<td>string<\/td>\n<td>A brief description of the CountryCode + PhoneNumber prefix.<\/td>\n<\/tr>\n<tr>\n<td>TokensUsed<\/td>\n<td>int<\/td>\n<td>Number of tokens consumed in this request (see Appendix B).<\/td>\n<\/tr>\n<tr>\n<td>TransactionID<\/td>\n<td>string<\/td>\n<td>Unique identifier for this request.<\/td>\n<\/tr>\n<tr>\n<td>Message<\/td>\n<td>string<\/td>\n<td>The same message input to the operation; for your reference.<\/td>\n<\/tr>\n<tr>\n<td>Debug<\/td>\n<td>string<\/td>\n<td>Utility field; safe to ignore.<\/td>\n<\/tr>\n<tr>\n<td>Error<\/td>\n<td><a href=\"\/docs\/dots-telephone-verification-tv\/tv-errors\/\" target=\"_blank\" rel=\"noreferrer noopener\">Error<\/a><\/td>\n<td>See Errors<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/section>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>URL Endpoints GetSecondaryNumbers Inputs GetSecondaryNumbers Outputs &nbsp; The SendSMS operation sends a text message containing a verification code to the phone number specified. Applications should require the end user to enter the same code to verify he is accessible via this phone number. URL Endpoint XML: https:\/\/trial.serviceobjects.com\/tv\/TelephoneVerification.asmx\/SendSMS?CountryCode={COUNTRYCODE}&amp;PhoneNumber={PHONENUMBER}&amp;Message={MESSAGE}&amp;LicenseKey={LICENSEKEY} SendSMS Inputs Name Type Description CountryCode String CountryCode [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"parent":9751,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9762","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>TV - SendSMS<\/title>\n<meta name=\"description\" content=\"URL Endpoints GetSecondaryNumbers Inputs GetSecondaryNumbers Outputs &nbsp; The SendSMS operation sends a text message containing a verification code to\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TV - SendSMS\" \/>\n<meta property=\"og:description\" content=\"URL Endpoints GetSecondaryNumbers Inputs GetSecondaryNumbers Outputs &nbsp; The SendSMS operation sends a text message containing a verification code to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-22T06:16:57+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/\",\"name\":\"TV - SendSMS\",\"isPartOf\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2023-08-09T20:19:38+00:00\",\"dateModified\":\"2025-08-22T06:16:57+00:00\",\"description\":\"URL Endpoints GetSecondaryNumbers Inputs GetSecondaryNumbers Outputs &nbsp; The SendSMS operation sends a text message containing a verification code to\",\"breadcrumb\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Telephone Verification\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"TV &#8211; Operations\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"TV &#8211; SendSMS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.serviceobjects.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#organization\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"contentUrl\":\"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"width\":2560,\"height\":1440,\"caption\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\"},\"image\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TV - SendSMS","description":"URL Endpoints GetSecondaryNumbers Inputs GetSecondaryNumbers Outputs &nbsp; The SendSMS operation sends a text message containing a verification code to","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/","og_locale":"en_US","og_type":"article","og_title":"TV - SendSMS","og_description":"URL Endpoints GetSecondaryNumbers Inputs GetSecondaryNumbers Outputs &nbsp; The SendSMS operation sends a text message containing a verification code to","og_url":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2025-08-22T06:16:57+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/","url":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/","name":"TV - SendSMS","isPartOf":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#website"},"datePublished":"2023-08-09T20:19:38+00:00","dateModified":"2025-08-22T06:16:57+00:00","description":"URL Endpoints GetSecondaryNumbers Inputs GetSecondaryNumbers Outputs &nbsp; The SendSMS operation sends a text message containing a verification code to","breadcrumb":{"@id":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/tv-sendsms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Telephone Verification","item":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/"},{"@type":"ListItem","position":3,"name":"TV &#8211; Operations","item":"https:\/\/www.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-operations\/"},{"@type":"ListItem","position":4,"name":"TV &#8211; SendSMS"}]},{"@type":"WebSite","@id":"https:\/\/www.serviceobjects.com\/docs\/#website","url":"https:\/\/www.serviceobjects.com\/docs\/","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","description":"","publisher":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.serviceobjects.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.serviceobjects.com\/docs\/#organization","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","url":"https:\/\/www.serviceobjects.com\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","contentUrl":"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","width":2560,"height":1440,"caption":"Service Objects | Contact, Phone, Email Verification | Data Quality Services"},"image":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=9762"}],"version-history":[{"count":20,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9762\/revisions"}],"predecessor-version":[{"id":11774,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9762\/revisions\/11774"}],"up":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9751"}],"wp:attachment":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=9762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}