{"id":1101,"date":"2022-11-08T20:48:39","date_gmt":"2022-11-08T20:48:39","guid":{"rendered":"https:\/\/alvochat.com\/blog\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%a5%d8%b1%d8%b3%d8%a7%d9%84-whatsapp-api-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-httppie\/"},"modified":"2022-11-13T07:10:53","modified_gmt":"2022-11-13T07:10:53","slug":"%d9%83%d9%8a%d9%81-%d8%aa%d8%b1%d8%b3%d9%84-%d9%88%d8%a7%d8%aa%d8%b3-%d8%a7%d8%a8-api-%d8%b9%d8%a8%d8%b1-htpie","status":"publish","type":"post","link":"https:\/\/alvochat.com\/blog\/ar\/%d9%83%d9%8a%d9%81-%d8%aa%d8%b1%d8%b3%d9%84-%d9%88%d8%a7%d8%aa%d8%b3-%d8%a7%d8%a8-api-%d8%b9%d8%a8%d8%b1-htpie\/","title":{"rendered":"\u0643\u064a\u0641\u064a\u0629 \u0625\u0631\u0633\u0627\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 HTTPPie"},"content":{"rendered":"\n<p><\/p>\n\n<h2 class=\"wp-block-heading\">\u0645\u0642\u062f\u0645\u0629<\/h2>\n\n<p>\u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0643\u0648\u062f \u060c \u062a\u062a\u0639\u0644\u0645 \u0643\u064a\u0641\u064a\u0629 \u0625\u0631\u0633\u0627\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 HTTPPie \u060c \u0644\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 \u0646\u0635\u064a\u0629 \u060c \u0642\u0648\u0627\u0644\u0628 WhatsApp \u060c \u0648\u0633\u0627\u0626\u0637 \u060c \u0623\u0632\u0631\u0627\u0631 \u062a\u0641\u0627\u0639\u0644\u064a\u0629 \u060c \u0642\u0648\u0627\u0626\u0645 \u060c \u0645\u0646\u062a\u062c\u0627\u062a &#8230; \u0625\u0644\u062e \u060c \u062d\u0633\u0627\u0628 Alvochat \u0645\u0637\u0644\u0648\u0628 \u0644\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0631\u0645\u0648\u0632 \u0627\u0644\u062a\u0627\u0644\u064a\u0629. <a href=\"http:\/\/alvochat.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0642\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628<\/a> \u0625\u0630\u0627 \u0644\u0645 \u064a\u0643\u0646 \u0644\u062f\u064a\u0643 \u062d\u0633\u0627\u0628.<\/p>\n\n<p><\/p>\n\n<h2 class=\"wp-block-heading\" id=\"first-whatsapp-message-using-curl\">\u0623\u0631\u0633\u0644 \u0646\u0645\u0648\u0630\u062c\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 WhatsApp API<\/h2>\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/template \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\tname='hello_world' \\\n\tlanguage='en_us' \\\n\theader='' \\\n\tbody='' \\\n\tbuttons='' \\\n\tpriority='' <\/code><\/code><\/pre>\n<\/div>\n<\/div>\n\n<h2 class=\"wp-block-heading\">\u0623\u0631\u0633\u0644 \u0631\u0633\u0627\u0644\u0629 \u0646\u0635\u064a\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 WhatsApp API<\/h2>\n\n<p><\/p>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance99\/messages\/chat \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\tbody='WhatsApp API on alvochat.com works good' \\\n\tpriority='' \\\n\tpreview_url='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u0635\u0648\u0631\u0629<\/h2>\n\n<p><\/p>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/image \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\timage='https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/image\/1.jpeg' \\\n\tcaption='image caption' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0635\u0648\u062a<\/h2>\n\n<p><\/p>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/audio \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\taudio='https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/audio\/1.mp3' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">\u0627\u0631\u0633\u0644 \u0645\u0642\u0637\u0639 \u0641\u064a\u062f\u064a\u0648<\/h2>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/video \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\tvideo='https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/video\/1.mp4' \\\n\tcaption='video caption' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0645\u0633\u062a\u0646\u062f\u0627\u062a <\/h2>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance119\/messages\/document \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\tdocument='https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/document\/1.pdf' \\\n\tfilename='' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0633\u062a\u064a\u0643\u0631<\/h2>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/sticker \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\tsticker='https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/sticker\/1.webp' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u062c\u0647\u0629 \u0627\u062a\u0635\u0627\u0644<\/h2>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/contact \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\tcontact='' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u0645\u0648\u0642\u0639<\/h2>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/location \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\tlat='37.484296' \\\n\tlng='-122.148703' \\\n\taddress='Menlo Park, California, United States' \\\n\tname='Meta Headquarters' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0642\u0648\u0627\u0626\u0645 <\/h2>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/list \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\theader='header' \\\n\tbody=' please select one of the following options' \\\n\tfooter='footer' \\\n\tbutton='options' \\\n\tsections='option_1,option_2,option_3' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<p><\/p>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u0623\u0632\u0631\u0627\u0631 \u0627\u0644\u0648\u0627\u062a\u0633 \u0627\u0628 \u0627\u0644\u062a\u0641\u0627\u0639\u0644\u064a\u0647 <\/h2>\n\n<p><\/p>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/button \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\theader='header' \\\n\tbody=' please select one of the following options' \\\n\tfooter='footer' \\\n\tbuttons='option_1,option_2,option_3' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<p><\/p>\n\n<h2 class=\"wp-block-heading\">\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a <\/h2>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"powershell\" class=\"EnlighterJSRAW\">http --form POST https:\/\/api.alvochat.com\/instance1199\/messages\/product \\\n  content-type:application\/x-www-form-urlencoded \\\n  \ttoken='YourToken' \\\n\tto='16315555555' \\\n\theader='header' \\\n\tbody='Hi , check out our new products' \\\n\tfooter='footer' \\\n\tcatalog_id='' \\\n\tproduct='' \\\n\tpriority='' \\\n\tmessage_id='' <\/code><\/code><\/pre>\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n<p>\u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0648\u062b\u0627\u0626\u0642 Whatsapp API \u0627\u0644\u0643\u0627\u0645\u0644\u0629 <a href=\"https:\/\/alvochat.com\/docs\/\" data-type=\"URL\" data-id=\"https:\/\/alvochat.com\/docs\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0647\u0646\u0627<\/a> .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0645\u0642\u062f\u0645\u0629 \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0643\u0648\u062f \u060c \u062a\u062a\u0639\u0644\u0645 \u0643\u064a\u0641\u064a\u0629 \u0625\u0631\u0633\u0627\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 HTTPPie \u060c \u0644\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"\u0643\u064a\u0641\u064a\u0629 \u0625\u0631\u0633\u0627\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 HTTPPie\" class=\"read-more button\" href=\"https:\/\/alvochat.com\/blog\/ar\/%d9%83%d9%8a%d9%81-%d8%aa%d8%b1%d8%b3%d9%84-%d9%88%d8%a7%d8%aa%d8%b3-%d8%a7%d8%a8-api-%d8%b9%d8%a8%d8%b1-htpie\/#more-1101\" aria-label=\"Read more about \u0643\u064a\u0641\u064a\u0629 \u0625\u0631\u0633\u0627\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 HTTPPie\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":437,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"%title% | %currentyear%","rank_math_description":"\u0641\u064a \u0645\u0642\u062a\u0637\u0641 \u0627\u0644\u0634\u0641\u0631\u0629 \u0647\u0630\u0627 \u060c \u062a\u062a\u0639\u0644\u0645 \u0643\u064a\u0641\u064a\u0629 \u0625\u0631\u0633\u0627\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 HTTPPie \u060c \u0644\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 \u0646\u0635\u064a\u0629 \u060c \u0642\u0648\u0627\u0644\u0628 \u060c \u0648\u0633\u0627\u0626\u0637 \u060c \u0623\u0632\u0631\u0627\u0631 \u060c \u0642\u0648\u0627\u0626\u0645 \u060c \u0645\u0646\u062a\u062c\u0627\u062a","rank_math_focus_keyword":"WhatsApp API \u060c HTTPPie","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[80,79],"tags":[81],"class_list":["post-1101","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whatsappapi-ar","category-79","tag-whatsapp-api-ar","infinite-scroll-item","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","no-featured-image-padding"],"jetpack_featured_media_url":"https:\/\/alvochat.com\/blog\/wp-content\/uploads\/2022\/11\/WhatsApp-API-HTTPPie.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/comments?post=1101"}],"version-history":[{"count":6,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1101\/revisions"}],"predecessor-version":[{"id":1322,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1101\/revisions\/1322"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/media\/437"}],"wp:attachment":[{"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/media?parent=1101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/categories?post=1101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/tags?post=1101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}