{"id":1530,"date":"2021-12-27T04:19:32","date_gmt":"2021-12-27T04:19:32","guid":{"rendered":"https:\/\/sweepwidget.com\/docs\/?p=1530"},"modified":"2026-01-18T03:33:19","modified_gmt":"2026-01-18T03:33:19","slug":"require-sms-phone-verification-text-message","status":"publish","type":"post","link":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message","title":{"rendered":"Require SMS Phone Verification Text Message"},"content":{"rendered":"\n<p>With SweepWidget, you can require the user to authenticate their phone number with an SMS text verification code. This ensures it&#8217;s the user&#8217;s real phone number.<\/p>\n\n\n\n<p>You will need a <a href=\"https:\/\/twilio.com\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Twilio<\/strong><\/a> account with an API key and phone number to use this feature.<\/p>\n\n\n\n<p>First, go to create or edit a giveaway. Under the <strong>Security Settings<\/strong> tab, tick the <strong>SMS text verification code. Collect verified user phone number<\/strong> option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"840\" height=\"122\" src=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1.png\" alt=\"\" class=\"wp-image-1531\" style=\"width:600px\" srcset=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1.png 840w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1-300x44.png 300w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1-768x112.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p>Next you will need to fill out your <strong>Twilio Account SID<\/strong>, <strong>Twilio Auth Token<\/strong>, and <strong>Twilio Sending Phone Number<\/strong>.<\/p>\n\n\n\n<p>Additionally, you can customize the text message the contestant will receive with dynamic merge tags:<\/p>\n\n\n\n<p>Merge tag values:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>[USERNAME]<\/td><td>&nbsp;=&nbsp; User&#8217;s full name<\/td><\/tr><tr><td>[TITLE]<\/td><td>&nbsp;=&nbsp; Giveaway title<\/td><\/tr><tr><td>[VERIFICATION_CODE]<\/td><td>&nbsp;=&nbsp; 4-digit verification code<\/td><\/tr><tr><td>[BRAND_NAME]<\/td><td>&nbsp;=&nbsp; The name of your brand. Note: You can edit it&nbsp;<a target=\"_blank\" href=\"https:\/\/sweepwidget.com\/user\/update-profile\/4\" rel=\"noreferrer noopener\">here.<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"954\" height=\"1024\" src=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-2-954x1024.png\" alt=\"\" class=\"wp-image-1532\" style=\"width:600px\" srcset=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-2-954x1024.png 954w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-2-280x300.png 280w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-2-768x824.png 768w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-2.png 960w\" sizes=\"(max-width: 954px) 100vw, 954px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>With SweepWidget, you can require the user to authenticate their phone number with an SMS text verification code. This ensures it&#8217;s the user&#8217;s real phone number. You will need a Twilio account with an API key and phone number to use this feature. First, go to create or edit a giveaway. Under the Security Settings tab, tick the SMS text verification code. Collect verified user phone number option. Next you will need to fill out your Twilio Account SID, Twilio Auth Token, and Twilio Sending Phone Number. Additionally, you can customize the text message the contestant will receive with dynamic merge tags: Merge tag values: [USERNAME] &nbsp;=&nbsp; User&#8217;s full name [TITLE] &nbsp;=&nbsp; Giveaway title [VERIFICATION_CODE] &nbsp;=&nbsp; 4-digit verification code [BRAND_NAME] &nbsp;=&nbsp; The name of your brand. Note: You can edit it&nbsp;here.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1530","post","type-post","status-publish","format-standard","hentry","category-how-to"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Require SMS Phone Verification Text Message - SweepWidget Help Docs<\/title>\n<meta name=\"description\" content=\"Learn how to require SMS phone verification text message with a SweepWidget giveaway.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Require SMS Phone Verification Text Message - SweepWidget Help Docs\" \/>\n<meta property=\"og:description\" content=\"Learn how to require SMS phone verification text message with a SweepWidget giveaway.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message\" \/>\n<meta property=\"og:site_name\" content=\"SweepWidget Help Docs\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-27T04:19:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-18T03:33:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"840\" \/>\n\t<meta property=\"og:image:height\" content=\"122\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"SweepWidget\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SweepWidget\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message\"},\"author\":{\"name\":\"SweepWidget\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#\\\/schema\\\/person\\\/4cca2bc9c600116750eca1bfff6648e0\"},\"headline\":\"Require SMS Phone Verification Text Message\",\"datePublished\":\"2021-12-27T04:19:32+00:00\",\"dateModified\":\"2026-01-18T03:33:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message\"},\"wordCount\":148,\"image\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/sms-1.png\",\"articleSection\":[\"How To\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message\",\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message\",\"name\":\"Require SMS Phone Verification Text Message - SweepWidget Help Docs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/sms-1.png\",\"datePublished\":\"2021-12-27T04:19:32+00:00\",\"dateModified\":\"2026-01-18T03:33:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#\\\/schema\\\/person\\\/4cca2bc9c600116750eca1bfff6648e0\"},\"description\":\"Learn how to require SMS phone verification text message with a SweepWidget giveaway.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message#primaryimage\",\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/sms-1.png\",\"contentUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/sms-1.png\",\"width\":840,\"height\":122},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/require-sms-phone-verification-text-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Require SMS Phone Verification Text Message\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/\",\"name\":\"SweepWidget Help Docs\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#\\\/schema\\\/person\\\/4cca2bc9c600116750eca1bfff6648e0\",\"name\":\"SweepWidget\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g\",\"caption\":\"SweepWidget\"},\"sameAs\":[\"https:\\\/\\\/sweepwidget.com\\\/docs\"],\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/author\\\/sweepwidget\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Require SMS Phone Verification Text Message - SweepWidget Help Docs","description":"Learn how to require SMS phone verification text message with a SweepWidget giveaway.","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:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message","og_locale":"en_US","og_type":"article","og_title":"Require SMS Phone Verification Text Message - SweepWidget Help Docs","og_description":"Learn how to require SMS phone verification text message with a SweepWidget giveaway.","og_url":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message","og_site_name":"SweepWidget Help Docs","article_published_time":"2021-12-27T04:19:32+00:00","article_modified_time":"2026-01-18T03:33:19+00:00","og_image":[{"width":840,"height":122,"url":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1.png","type":"image\/png"}],"author":"SweepWidget","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SweepWidget","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message#article","isPartOf":{"@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message"},"author":{"name":"SweepWidget","@id":"https:\/\/sweepwidget.com\/docs\/#\/schema\/person\/4cca2bc9c600116750eca1bfff6648e0"},"headline":"Require SMS Phone Verification Text Message","datePublished":"2021-12-27T04:19:32+00:00","dateModified":"2026-01-18T03:33:19+00:00","mainEntityOfPage":{"@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message"},"wordCount":148,"image":{"@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message#primaryimage"},"thumbnailUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1.png","articleSection":["How To"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message","url":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message","name":"Require SMS Phone Verification Text Message - SweepWidget Help Docs","isPartOf":{"@id":"https:\/\/sweepwidget.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message#primaryimage"},"image":{"@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message#primaryimage"},"thumbnailUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1.png","datePublished":"2021-12-27T04:19:32+00:00","dateModified":"2026-01-18T03:33:19+00:00","author":{"@id":"https:\/\/sweepwidget.com\/docs\/#\/schema\/person\/4cca2bc9c600116750eca1bfff6648e0"},"description":"Learn how to require SMS phone verification text message with a SweepWidget giveaway.","breadcrumb":{"@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message#primaryimage","url":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1.png","contentUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2021\/12\/sms-1.png","width":840,"height":122},{"@type":"BreadcrumbList","@id":"https:\/\/sweepwidget.com\/docs\/require-sms-phone-verification-text-message#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sweepwidget.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Require SMS Phone Verification Text Message"}]},{"@type":"WebSite","@id":"https:\/\/sweepwidget.com\/docs\/#website","url":"https:\/\/sweepwidget.com\/docs\/","name":"SweepWidget Help Docs","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sweepwidget.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/sweepwidget.com\/docs\/#\/schema\/person\/4cca2bc9c600116750eca1bfff6648e0","name":"SweepWidget","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g","caption":"SweepWidget"},"sameAs":["https:\/\/sweepwidget.com\/docs"],"url":"https:\/\/sweepwidget.com\/docs\/author\/sweepwidget"}]}},"_links":{"self":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/1530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/comments?post=1530"}],"version-history":[{"count":4,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/1530\/revisions"}],"predecessor-version":[{"id":7228,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/1530\/revisions\/7228"}],"wp:attachment":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/media?parent=1530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/categories?post=1530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/tags?post=1530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}