{"id":2311,"date":"2021-04-20T23:48:03","date_gmt":"2021-04-21T02:48:03","guid":{"rendered":"https:\/\/kondado.com.br\/blog\/wiki\/?p=2311"},"modified":"2021-10-08T10:55:29","modified_gmt":"2021-10-08T13:55:29","slug":"twilio","status":"publish","type":"post","link":"https:\/\/kondado.com.br\/blog\/wiki\/2021\/04\/20\/twilio\/","title":{"rendered":"Twilio"},"content":{"rendered":"\n<h2>Adicionando o conector<\/h2>\n\n\n\n<p><\/p>\n\n\n\n\n\n<p><\/p>\n\n\n\n<p>1) Fa\u00e7a login na sua conta do Twilio com um usu\u00e1rio que tenha <strong>permiss\u00f5es de administrador<\/strong><\/p>\n\n\n\n<p>2) No menu lateral esquerdo, clique em Dashboard &gt; Settings &gt; General<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"228\" height=\"530\" src=\"https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/image-3.png\" alt=\"\" class=\"wp-image-2315\" srcset=\"https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/image-3.png 228w, https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/image-3-129x300.png 129w\" sizes=\"(max-width: 228px) 100vw, 228px\" \/><\/figure><\/div>\n\n\n\n<p>3) Procure pela se\u00e7\u00e3o &#8220;API Credentials&#8221; &gt; &#8220;LIVE Credentials&#8221; e copie os valores &#8220;Account SID&#8221; e &#8220;Auth Token&#8221;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"521\" height=\"300\" src=\"https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/Untitled-drawing-18.png\" alt=\"\" class=\"wp-image-2316\" srcset=\"https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/Untitled-drawing-18.png 521w, https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/Untitled-drawing-18-300x173.png 300w\" sizes=\"(max-width: 521px) 100vw, 521px\" \/><\/figure><\/div>\n\n\n\n<p>4) Fa\u00e7a login na Kondado, v\u00e1 para a\u00a0<a href=\"https:\/\/kondado.com.br\/blog\/wiki\/adicionando-conectores-na-plataforma-da-kondado\/\" data-type=\"URL\" data-id=\"https:\/\/kondado.com.br\/blog\/wiki\/adicionando-conectores-na-plataforma-da-kondado\/\">se\u00e7\u00e3o de adicionar conectores<\/a>\u00a0e selecione o conector do Twilio<\/p>\n\n\n\n<p>5) No conector, em &#8220;Nome&#8221; d\u00ea um nome para o seu conector e, em &#8220;Account SID&#8221; e &#8220;Auth Token&#8221; copie os valores obtidos no passo (3)<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"558\" height=\"453\" src=\"https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/image-4.png\" alt=\"\" class=\"wp-image-2317\" srcset=\"https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/image-4.png 558w, https:\/\/kondado.com.br\/blog\/wiki\/wp-content\/uploads\/sites\/2\/2021\/04\/image-4-300x244.png 300w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/figure><\/div>\n\n\n\n<p>Agora basta clicar em SALVAR e para come\u00e7ar a receber dados do Twilio no Data Warehouse ou Data Lake<\/p>\n\n\n\n<h2>Integra\u00e7\u00f5es<\/h2>\n\n\n\n<center>\n\t\t<a style=\"width: 100%; min-width: 100%\" href=\"https:\/\/kdd-public-files.s3.amazonaws.com\/wiki\/erd\/twilio.svg\" target=\"_blank\" rel=\"noopener\">\n\t\t\t<div style=\"border-top:1px solid gray; border-bottom:1px solid gray; padding-bottom:10px; display: block;margin-left: auto;margin-right: auto;width: 100%; background-color: #efeaee\">\n\t\t\t\t<p style=\"width: 100%; min-width: 100%\">\n\t\t\t\t\t<p style=\"width: 100%; min-width: 100%; font-weight: bold; text-decoration: underline;\">\n\t\t\t\t\t\tGr\u00e1fico de relacionamento entre tabelas\n\t\t\t\t\t<\/p>\n\t\t\t\t\t<p style=\"width: 100%; min-width: 100%\">\n\t\t\t\t\t\t<div style=\"display: block;margin-left: auto;margin-right: auto;width: 50%; height:auto; background-color: white\">\n\t\t\t\t\t\t\t<img src=\"https:\/\/kdd-public-files.s3.amazonaws.com\/wiki\/erd\/twilio.svg\" style=\"display: block;margin-left: auto;margin-right: auto;width: 150px;\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/p>\n\t\t\t\t<\/p>\n\t\t\t<\/div>\n\t\t<\/a>\t\n\t<\/center>\n\n\n\n<h3><strong>Messages<\/strong><\/h3>\n\n\n\n<!--- __kdd_doc_updated:2021-22-04T17:37:53.277602Z --->\n<a name=\"parent_pipeline_type:messages\"><\/a>\n<div style=\"padding-left:10%\"><table>\n\n\t\t\t  <tr style=\"border-bottom:1px solid gray\">\n\t\t\t    <th><small><b>Campo<\/b><\/small><\/th>\n\t\t\t    <th style=\"padding-left:10px\"><small><b>Tipo<\/b><\/small><\/th>\n\t\t\t    <th style=\"padding-left:10px\"><small><b><\/b><\/small><\/th>\n\t\t\t  <\/tr>\n\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>sid<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The unique string that that we created to identify the Message resource.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>account_sid<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The SID of the Account that sent the message that created the resource.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>body<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] (Available for up to 30 DAYS) The message text. Can be up to 1,600 characters long.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>date_created<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>timestamp<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The date and time in GMT that the resource was created<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>date_sent<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>timestamp<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The date and time in GMT that the resource was sent. For outgoing messages, this is when we sent the message. For incoming messages, this is when we made the HTTP request to your application.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>date_updated<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>timestamp<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The date and time in GMT that the resource was last updated<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>direction<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The direction of the message. Can be: inbound for incoming messages, outbound-api for messages initiated by a REST API, outbound-call for messages initiated during a call, or outbound-reply for messages initiated in response to an incoming message.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>error_code<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The error code returned if your message status is failed or undelivered . The error_code provides more information about the failure. If the message was successful, this value is null.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>error_message<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The description of the error_code if your message status is failed or undelivered . If the message was successful, this value is null.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>from<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] (Available for up to 120 DAYS) The phone number (in E.164 format), alphanumeric sender ID , or Wireless SIM that initiated the message. For incoming messages, this will be the number of the sending phone. For outgoing messages, this value will be one of your Twilio phone numbers or the alphanumeric sender ID used.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>messaging_service_sid<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The SID of the Messaging Service used with the message. The value is null if a Messaging Service was not used.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>num_media<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>float<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The number of media files associated with the message. A message can send up to 10 media files.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>num_segments<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>float<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The number of segments that make up the complete message. A message body that is too large to be sent in a single SMS message is segmented and charged as multiple messages. Inbound messages over 160 characters are reassembled when the message is received. Note: When using a Messaging Service to send messages, num_segments will always be 0 in Twilio&#8217;s response to your API request.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>price<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>float<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The amount billed for the message, in the currency specified by price_unit .  Note that your account is charged for each segment we send to the handset. Populated after the message has been sent. May not be immediately available.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>price_unit<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The currency in which price is measured, in ISO 4127 format (e.g. usd , eur , jpy ).<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>status<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] The status of the message. Can be: accepted , scheduled (Pilot only), queued , sending , sent , failed , delivered , undelivered , receiving , received , or read (WhatsApp only). For more information, See https:\/\/www.twilio.com\/docs\/sms\/api\/message-resource#message-status-values<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n\n\t\t\t\t<tr>\n\t\t\t\t\t<td style=\"vertical-align:top\"><small><p>to<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>text<\/p><\/small><\/td>\n\t\t\t\t\t<td style=\"padding-left:10px;vertical-align:top;\n\"><small><p>[en] (Available for up to 120 DAYS) The phone number in E.164 format that received the message. For incoming messages, this will be one of your Twilio phone numbers. For outgoing messages, this will be the sending phone.<\/p><\/small><\/td>\n\t\t\t\t<\/tr>\n\t\t\t\n<\/table><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Adicione o conector do Twilio na Kondado e integre seus dados ao seu seu Data Warehouse ou Data Lake<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[229],"tags":[40,338,7,6,449,450,452,451,453,454,456,455],"_links":{"self":[{"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/posts\/2311"}],"collection":[{"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/comments?post=2311"}],"version-history":[{"count":7,"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/posts\/2311\/revisions"}],"predecessor-version":[{"id":3665,"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/posts\/2311\/revisions\/3665"}],"wp:attachment":[{"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/media?parent=2311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/categories?post=2311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kondado.com.br\/blog\/wiki\/wp-json\/wp\/v2\/tags?post=2311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}