{"id":1137,"date":"2022-11-08T20:56:23","date_gmt":"2022-11-08T20:56:23","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-jquery\/"},"modified":"2022-11-13T07:12:50","modified_gmt":"2022-11-13T07:12:50","slug":"%d9%83%d9%8a%d9%81-%d8%aa%d8%b1%d8%b3%d9%84-%d8%a7%d9%84-whatsapp-api-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-jquery","status":"publish","type":"post","link":"https:\/\/alvochat.com\/blog\/ar\/%d9%83%d9%8a%d9%81-%d8%aa%d8%b1%d8%b3%d9%84-%d8%a7%d9%84-whatsapp-api-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-jquery\/","title":{"rendered":"\u0643\u064a\u0641\u064a\u0629 \u0625\u0631\u0633\u0627\u0644 WhatsApp API \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 jQuery"},"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 jQuery \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 \u0645\u0639 jQuery<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/template\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"name\": \"hello_world\",\n    \"language\": \"en_us\",\n    \"header\": \"\",\n    \"body\": \"\",\n    \"buttons\": \"\",\n    \"priority\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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 \u0645\u0639 jQuery<\/h2>\n\n<p><\/p>\n\n<pre class=\"wp-block-code\"><code><code data-enlighter-language=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/chat\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"body\": \"WhatsApp API on alvochat.com works good\",\n    \"priority\": \"\",\n    \"preview_url\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/image\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"image\": \"https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/image\/1.jpeg\",\n    \"caption\": \"image caption\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/audio\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"audio\": \"https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/audio\/1.mp3\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/video\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"video\": \"https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/video\/1.mp4\",\n    \"caption\": \"video caption\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/document\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"document\": \"https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/document\/1.pdf\",\n    \"filename\": \"\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/sticker\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"sticker\": \"https:\/\/alvochat-example.s3-accelerate.amazonaws.com\/sticker\/1.webp\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/contact\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"contact\": \"\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/location\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"lat\": 37.484296000000000503860064782202243804931640625,\n    \"lng\": -122.1487029999999975871105561964213848114013671875,\n    \"address\": \"Menlo Park, California, United States\",\n    \"name\": \"Meta Headquarters\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/list\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"header\": \"header\",\n    \"body\": \" please select one of the following options\",\n    \"footer\": \"footer\",\n    \"button\": \"options\",\n    \"sections\": \"option_1,option_2,option_3\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/button\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"header\": \"header\",\n    \"body\": \" please select one of the following options\",\n    \"footer\": \"footer\",\n    \"buttons\": \"option_1,option_2,option_3\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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=\"js\" class=\"EnlighterJSRAW\">var settings = {\n  \"async\": true,\n  \"crossDomain\": true,\n  \"url\": \"https:\/\/api.alvochat.com\/instance1199\/messages\/product\",\n  \"method\": \"POST\",\n  \"headers\": {},\n  \"data\": {\n    \"token\": \"YourToken\",\n    \"to\": 16315555555,\n    \"header\": \"header\",\n    \"body\": \"Hi , check out our new products\",\n    \"footer\": \"footer\",\n    \"catalog_id\": \"\",\n    \"product\": \"\",\n    \"priority\": \"\",\n    \"message_id\": \"\"\n}\n}\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});<\/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 jQuery \u060c \u0644\u0625\u0631\u0633\u0627\u0644 &#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 jQuery\" class=\"read-more button\" href=\"https:\/\/alvochat.com\/blog\/ar\/%d9%83%d9%8a%d9%81-%d8%aa%d8%b1%d8%b3%d9%84-%d8%a7%d9%84-whatsapp-api-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-jquery\/#more-1137\" 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 jQuery\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":699,"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 \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 jquery \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\n","rank_math_focus_keyword":"jQuery \u060c WhatsApp API","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[80,79],"tags":[81,82],"class_list":["post-1137","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-jQuery.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1137","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=1137"}],"version-history":[{"count":3,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1137\/revisions"}],"predecessor-version":[{"id":1176,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/posts\/1137\/revisions\/1176"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/media\/699"}],"wp:attachment":[{"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/media?parent=1137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/categories?post=1137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alvochat.com\/blog\/ar\/wp-json\/wp\/v2\/tags?post=1137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}