{"id":1117,"date":"2022-11-08T20:54:22","date_gmt":"2022-11-08T20:54:22","guid":{"rendered":"https:\/\/alvochat.com\/blog\/%d8%a3%d8%b1%d8%b3%d9%84-whatsapp-api-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-powershell\/"},"modified":"2022-11-13T07:09:46","modified_gmt":"2022-11-13T07:09:46","slug":"%d8%a3%d8%b1%d8%b3%d9%84-%d9%88%d8%a7%d8%aa%d8%b3-%d8%a7%d8%a8-api-%d9%85%d8%b9-powershell","status":"publish","type":"post","link":"https:\/\/alvochat.com\/blog\/ar\/%d8%a3%d8%b1%d8%b3%d9%84-%d9%88%d8%a7%d8%aa%d8%b3-%d8%a7%d8%a8-api-%d9%85%d8%b9-powershell\/","title":{"rendered":"\u0623\u0631\u0633\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 PowerShell"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u0645\u0642\u062f\u0645\u0629<\/h2>\n\n<p>\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 PowerShell \u060c \u0644\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 \u0646\u0635\u064a\u0629 \u060c \u0642\u0648\u0627\u0644\u0628 WhatsApp \u060c \u0627\u0644\u0648\u0633\u0627\u0626\u0637 \u060c \u0627\u0644\u0623\u0632\u0631\u0627\u0631 \u0627\u0644\u062a\u0641\u0627\u0639\u0644\u064a\u0629 \u060c \u0627\u0644\u0642\u0648\u0627\u0626\u0645 \u060c \u0627\u0644\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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/template' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;name=hello_world&amp;language=en_us&amp;header=&amp;body=&amp;buttons=&amp;priority='<\/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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/chat' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;body=WhatsApp API on alvochat.com works good&amp;priority=&amp;preview_url=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/image' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;image=https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/image\/1.jpeg&amp;caption=image caption&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/audio' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;audio=https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/audio\/1.mp3&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/video' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;video=https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/video\/1.mp4&amp;caption=video caption&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/document' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;document=https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/document\/1.pdf&amp;filename=&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/sticker' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;sticker=https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/sticker\/1.webp&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/contact' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;contact=&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/location' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;lat=37.484296&amp;lng=-122.148703&amp;address=Menlo Park, California, United States&amp;name=Meta Headquarters&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/list' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;header=header&amp;body= please select one of the following options&amp;footer=footer&amp;button=options\u00a7ions=option_1,option_2,option_3&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/button' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;header=header&amp;body= please select one of the following options&amp;footer=footer&amp;buttons=option_1,option_2,option_3&amp;priority=&amp;message_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\">$headers=@{}\n$headers.Add(\"content-type\", \"application\/x-www-form-urlencoded\")\n$response = Invoke-WebRequest -Uri 'https:\/\/api.alvochat.com\/instance1199\/messages\/product' -Method POST -Headers $headers  -Body 'token=YourToken&amp;to=16315555555&amp;header=header&amp;body=Hi , check out our new products&amp;footer=footer&amp;catalog_id=&amp;product=&amp;priority=&amp;message_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 \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 PowerShell \u060c \u0644\u0625\u0631\u0633\u0627\u0644 &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"\u0623\u0631\u0633\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 PowerShell\" class=\"read-more button\" href=\"https:\/\/alvochat.com\/blog\/ar\/%d8%a3%d8%b1%d8%b3%d9%84-%d9%88%d8%a7%d8%aa%d8%b3-%d8%a7%d8%a8-api-%d9%85%d8%b9-powershell\/#more-1117\" aria-label=\"Read more about \u0623\u0631\u0633\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 PowerShell\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":478,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"%title% | %currentyear%","rank_math_description":"\u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0643\u0648\u062f \u060c \u0633\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 \u0628\u0648\u0648\u064a\u0631\u0634\u064a\u0644 \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":"powershell \u060c \u0648\u0627\u062a\u0633 \u0627\u0628 API","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[80,79],"tags":[81,82],"class_list":["post-1117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whatsappapi-ar","category-79","tag-whatsapp-api-ar","tag-82","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-PowerShell-1.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1117","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=1117"}],"version-history":[{"count":3,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1117\/revisions"}],"predecessor-version":[{"id":1158,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1117\/revisions\/1158"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/media\/478"}],"wp:attachment":[{"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/media?parent=1117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/categories?post=1117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/tags?post=1117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}