{"id":1759,"date":"2024-11-06T11:38:15","date_gmt":"2024-11-06T11:38:15","guid":{"rendered":"https:\/\/startmsg.lt\/?p=1759"},"modified":"2024-11-06T11:38:15","modified_gmt":"2024-11-06T11:38:15","slug":"json-api-%d1%81%d0%be%d0%b5%d0%b4%d0%b8%d0%bd%d0%b5%d0%bd%d0%b8%d0%b5","status":"publish","type":"post","link":"https:\/\/startmsg.lt\/ru\/json-api-%d1%81%d0%be%d0%b5%d0%b4%d0%b8%d0%bd%d0%b5%d0%bd%d0%b8%d0%b5\/","title":{"rendered":"JSON API Connector"},"content":{"rendered":"<p class=\"translation-block\"><strong>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 JSON API StartMsg<\/strong> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u0430\u0436\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 URL, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0443\u043a\u0430\u0436\u0435\u0442\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438, \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 <strong>JSON<\/strong> \u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u043c\u0438 URL webhook. \u041e\u0442\u0432\u0435\u0442 \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 10 \u0441\u0435\u043a\u0443\u043d\u0434 \u2014 \u0435\u0441\u043b\u0438 \u043e\u043d \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d, \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441. \u042d\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c StartMsg \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043c\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u043c\u0438, \u0442\u0430\u043a\u0438\u043c\u0438 \u043a\u0430\u043a Zapier, \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f <strong>JSON API<\/strong> \u043b\u0435\u0433\u043a\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043c\u0435\u043d\u044e \u00abMessenger Bot\u00bb.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u041f\u043e\u043b\u043d\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c<\/strong><\/h3>\n\n\n\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 <strong>JSON API<\/strong> \u041f\u043e\u043c\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0435\u0433\u043a\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0441\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c, \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u043d\u0443\u0436\u0434\u044b.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f<\/strong><\/h3>\n\n\n\n<p>\u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \"<a href=\"https:\/\/app.startmsg.com\/messenger_bot_connectivity\/json_api_connector\" data-type=\"link\" data-id=\"https:\/\/app.startmsg.com\/messenger_bot_connectivity\/json_api_connector\"><strong>\u041d\u043e\u0432\u044b\u0439 \u0440\u0430\u0437\u044a\u0435\u043c<\/strong><\/a>\" \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0448\u0430\u0433\u043e\u0432:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"422\" src=\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api-1024x422.png\" alt=\"\" class=\"wp-image-1760\" srcset=\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api-1024x422.png 1024w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api-300x124.png 300w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api-768x316.png 768w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api-1536x632.png 1536w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api-650x268.png 650w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.png 1632w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u044a\u0435\u043c\u0430<\/strong>: \u041d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043b\u0435\u0433\u043a\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0440\u0435\u0434\u0438 \u0434\u0440\u0443\u0433\u0438\u0445.<\/li>\n\n\n\n<li><strong>URL-\u0430\u0434\u0440\u0435\u0441 \u0432\u0435\u0431\u0445\u0443\u043a\u0430<\/strong>: \u0412\u0432\u0435\u0434\u0438\u0442\u0435 URL-\u0430\u0434\u0440\u0435\u0441, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0434\u0430\u043d\u043d\u044b\u0435. \u042d\u0442\u043e\u0442 URL-\u0430\u0434\u0440\u0435\u0441 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a <strong>Zapier<\/strong>\u0438\u043b\u0438 \u0443\u043a\u0430\u0436\u0438\u0442\u0435 URL-\u0430\u0434\u0440\u0435\u0441 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041d\u0430 \u044d\u0442\u043e\u0442 URL \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON, \u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0436\u0434\u0430\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u0430 \u0434\u043e 10 \u0441\u0435\u043a\u0443\u043d\u0434.<\/li>\n\n\n\n<li><strong>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443<\/strong>: \u042d\u0442\u043e \u043f\u043e\u043b\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0443\u044e \u043a \u0431\u043e\u0442\u0443 Messenger, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435.<\/li>\n\n\n\n<li><strong>\u041a\u0430\u043a\u043e\u0435 \u043f\u043e\u043b\u0435 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u0432\u0435\u0431\u0445\u0443\u043a<\/strong>: \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u043e\u043b\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0431\u0445\u0443\u043a. \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b: \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043e\u0447\u0442\u0430, \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043f\u043e\u0441\u0442\u0431\u044d\u043a, \u0434\u0430\u0442\u0430 \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0444\u043e\u0440\u043c\u044b \u0432\u0435\u0431-\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0432\u044b \u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 email, \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430 \u0431\u043e\u0442\u043e\u043c Messenger \u0431\u0443\u0434\u0435\u0442 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c webhook. \u041f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0435\u0439.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"402\" src=\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api_konfiguracija-1024x402.png\" alt=\"\" class=\"wp-image-1761\" srcset=\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api_konfiguracija-1024x402.png 1024w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api_konfiguracija-300x118.png 300w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api_konfiguracija-768x301.png 768w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api_konfiguracija-650x255.png 650w, https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api_konfiguracija.png 1535w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041a\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c<\/strong>: \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u0440\u0438 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u0432\u0435\u0431\u0445\u0443\u043a\u0430. \u041f\u0440\u0438\u043c\u0435\u0440 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435:<\/li>\n<\/ul>\n\n\n<p>{<br \/>\n  \"psid\": \"12765756\u2033,<br \/>\n  \"first_name\": \"Test\",<br \/>\n  \"last_name\": \"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\",<br \/>\n  \u201esubscribed_at\u201d:\u201d2024-01-15 12:19:04\u2033,<br \/>\n  \"email\": \"testuser@gmail.com\",<br \/>\n  \"labels\": \"Demo, Demo Label 1, new-label-test\",<br \/>\n  \u201epage_id\u201d:\u201d37674343246\u2033,<br \/>\n  \"page_name\": \"\u0422\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",<br \/>\n  \u201ephone_number\u201d:\u201d+370628282846\u2033,<br \/>\n  \"user_location\":\"\",<br \/>\n  \"postbackid\":\"\",<br \/>\n  \u201esubscriber_id\u201d:\u201d2251324188330310\u2033,<br \/>\n  \u201ewebview_form_id\u201d:\u201d83c567cd88\u2033,<br \/>\n  \"\u0422\u0438\u043f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\": \"\u041e\u0431\u0443\u0432\u044c\",<br \/>\n  \"\u0420\u0430\u0437\u043c\u0435\u0440\": \"\u0421\u0440\u0435\u0434\u043d\u0438\u0439\",<br \/>\n  \"Phone-Number\": \"88823\u2033,<br \/>\n  \u201eDelivery-Date\u201d:\u201d2024-01-15\u2033<br \/>\n}<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><br><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u041e\u0447\u0438\u0441\u0442\u043a\u0430 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u043e \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440\u0430\u0445<\/strong><\/h3>\n\n\n\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041e\u0442\u0447\u0435\u0442 \u043e\u0431 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 10 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438. \u0415\u0441\u043b\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043e, HTTP-\u043a\u043e\u0434 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \"200\". \u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u044b\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0439.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 PHP-\u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 URL-\u0430\u0434\u0440\u0435\u0441\u0430 Webhook<\/strong><\/h3>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u043f\u0440\u0438\u0435\u043c\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 JSON, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0441\u0432\u043e\u0439 URL \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0432\u0435\u0431-\u0445\u0443\u043a\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0432\u0430\u0448 \u0434\u043e\u043c\u0435\u043d \"<a>https:\/\/example.com\"<\/a>\u0438 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \"test.php\", URL \u0432\u0435\u0431\u0445\u0443\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \"<a>https:\/\/example.com\/test.php\"<\/a>. \u041a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u0438, \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u044d\u0442\u043e\u0442 URL. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON, \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0432 \u0444\u0430\u0439\u043b \"test.php\":<\/p>\n\n\n<p>$webhook_data = file_get_contents(\"php:\/\/input\");<br \/>\n$webhook_data_array = json_decode($webhook_data, true);<\/p>\n\n\n\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 StartMsg <strong>JSON API<\/strong> \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0436\u043d\u044b\u0435 \u0431\u0438\u0437\u043d\u0435\u0441-\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u043d\u043e \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u041a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440 StartMsg JSON API \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u0430\u0436\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u043b\u044e\u0431\u043e\u043c\u0443 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 \u0432\u0430\u043c\u0438 \u0432\u043d\u0435\u0448\u043d\u0435\u043c\u0443 URL. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u0430\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f [...].<\/p>","protected":false},"author":1,"featured_media":1762,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1759","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gidas"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.8 (Yoast SEO v26.4) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JSON API Jungtis - startmsg.lt<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/startmsg.lt\/ru\/json-api-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JSON API Jungtis\" \/>\n<meta property=\"og:description\" content=\"StartMsg JSON API jungtis suteikia galimyb\u0119 lengvai perduoti svarbius duomenis bet kuriam j\u016bs\u0173 nurodytam i\u0161oriniam URL adresui. Pavyzd\u017eiui, kai \u012fvyksta pasirinktas aktyvavimo [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/startmsg.lt\/ru\/json-api-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435\/\" \/>\n<meta property=\"og:site_name\" content=\"startmsg.lt\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/chatbotas\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-06T11:38:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"437\" \/>\n\t<meta property=\"og:image:height\" content=\"437\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"startmsg.lt\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"startmsg.lt\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/\"},\"author\":{\"name\":\"startmsg.lt\",\"@id\":\"https:\/\/startmsg.lt\/#\/schema\/person\/cec1e39fad2eb4b973e0eae57bed27ee\"},\"headline\":\"JSON API Jungtis\",\"datePublished\":\"2024-11-06T11:38:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/\"},\"wordCount\":497,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/startmsg.lt\/#organization\"},\"image\":{\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp\",\"articleSection\":[\"Gidas\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/startmsg.lt\/json-api-jungtis\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/\",\"url\":\"https:\/\/startmsg.lt\/json-api-jungtis\/\",\"name\":\"JSON API Jungtis - startmsg.lt\",\"isPartOf\":{\"@id\":\"https:\/\/startmsg.lt\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp\",\"datePublished\":\"2024-11-06T11:38:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/startmsg.lt\/json-api-jungtis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/#primaryimage\",\"url\":\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp\",\"contentUrl\":\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp\",\"width\":437,\"height\":437,\"caption\":\"json api jungtis pokalbiu marketinge\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/startmsg.lt\/json-api-jungtis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/startmsg.lt\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JSON API Jungtis\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/startmsg.lt\/#website\",\"url\":\"https:\/\/startmsg.lt\/\",\"name\":\"startmsg.lt\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/startmsg.lt\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/startmsg.lt\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/startmsg.lt\/#organization\",\"name\":\"startmsg.lt\",\"url\":\"https:\/\/startmsg.lt\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/startmsg.lt\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/01\/favicon.png\",\"contentUrl\":\"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/01\/favicon.png\",\"width\":196,\"height\":196,\"caption\":\"startmsg.lt\"},\"image\":{\"@id\":\"https:\/\/startmsg.lt\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/chatbotas\",\"https:\/\/www.instagram.com\/chatbotas\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/startmsg.lt\/#\/schema\/person\/cec1e39fad2eb4b973e0eae57bed27ee\",\"name\":\"startmsg.lt\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/startmsg.lt\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a1c2249a5d5da84f728faba039e64d61ea5df5bf0fc8890a70fe71a09a050777?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a1c2249a5d5da84f728faba039e64d61ea5df5bf0fc8890a70fe71a09a050777?s=96&d=mm&r=g\",\"caption\":\"startmsg.lt\"},\"sameAs\":[\"http:\/\/startmsg.lt\"],\"url\":\"https:\/\/startmsg.lt\/ru\/author\/startmsg-lt\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JSON API Connector - startmsg.lt","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:\/\/startmsg.lt\/ru\/json-api-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435\/","og_locale":"ru_RU","og_type":"article","og_title":"JSON API Jungtis","og_description":"StartMsg JSON API jungtis suteikia galimyb\u0119 lengvai perduoti svarbius duomenis bet kuriam j\u016bs\u0173 nurodytam i\u0161oriniam URL adresui. Pavyzd\u017eiui, kai \u012fvyksta pasirinktas aktyvavimo [&hellip;]","og_url":"https:\/\/startmsg.lt\/ru\/json-api-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435\/","og_site_name":"startmsg.lt","article_publisher":"https:\/\/facebook.com\/chatbotas","article_published_time":"2024-11-06T11:38:15+00:00","og_image":[{"width":437,"height":437,"url":"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp","type":"image\/webp"}],"author":"startmsg.lt","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"startmsg.lt","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"2 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/startmsg.lt\/json-api-jungtis\/#article","isPartOf":{"@id":"https:\/\/startmsg.lt\/json-api-jungtis\/"},"author":{"name":"startmsg.lt","@id":"https:\/\/startmsg.lt\/#\/schema\/person\/cec1e39fad2eb4b973e0eae57bed27ee"},"headline":"JSON API Jungtis","datePublished":"2024-11-06T11:38:15+00:00","mainEntityOfPage":{"@id":"https:\/\/startmsg.lt\/json-api-jungtis\/"},"wordCount":497,"commentCount":0,"publisher":{"@id":"https:\/\/startmsg.lt\/#organization"},"image":{"@id":"https:\/\/startmsg.lt\/json-api-jungtis\/#primaryimage"},"thumbnailUrl":"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp","articleSection":["Gidas"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/startmsg.lt\/json-api-jungtis\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/startmsg.lt\/json-api-jungtis\/","url":"https:\/\/startmsg.lt\/json-api-jungtis\/","name":"JSON API Connector - startmsg.lt","isPartOf":{"@id":"https:\/\/startmsg.lt\/#website"},"primaryImageOfPage":{"@id":"https:\/\/startmsg.lt\/json-api-jungtis\/#primaryimage"},"image":{"@id":"https:\/\/startmsg.lt\/json-api-jungtis\/#primaryimage"},"thumbnailUrl":"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp","datePublished":"2024-11-06T11:38:15+00:00","breadcrumb":{"@id":"https:\/\/startmsg.lt\/json-api-jungtis\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/startmsg.lt\/json-api-jungtis\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/startmsg.lt\/json-api-jungtis\/#primaryimage","url":"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp","contentUrl":"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/11\/json_api.webp","width":437,"height":437,"caption":"json api jungtis pokalbiu marketinge"},{"@type":"BreadcrumbList","@id":"https:\/\/startmsg.lt\/json-api-jungtis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/startmsg.lt\/"},{"@type":"ListItem","position":2,"name":"JSON API Jungtis"}]},{"@type":"WebSite","@id":"https:\/\/startmsg.lt\/#website","url":"https:\/\/startmsg.lt\/","name":"startmsg.lt","description":"","publisher":{"@id":"https:\/\/startmsg.lt\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/startmsg.lt\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/startmsg.lt\/#organization","name":"startmsg.lt","url":"https:\/\/startmsg.lt\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/startmsg.lt\/#\/schema\/logo\/image\/","url":"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/01\/favicon.png","contentUrl":"https:\/\/startmsg.lt\/wp-content\/uploads\/2024\/01\/favicon.png","width":196,"height":196,"caption":"startmsg.lt"},"image":{"@id":"https:\/\/startmsg.lt\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/chatbotas","https:\/\/www.instagram.com\/chatbotas"]},{"@type":"Person","@id":"https:\/\/startmsg.lt\/#\/schema\/person\/cec1e39fad2eb4b973e0eae57bed27ee","name":"startmsg.lt","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/startmsg.lt\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a1c2249a5d5da84f728faba039e64d61ea5df5bf0fc8890a70fe71a09a050777?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a1c2249a5d5da84f728faba039e64d61ea5df5bf0fc8890a70fe71a09a050777?s=96&d=mm&r=g","caption":"startmsg.lt"},"sameAs":["http:\/\/startmsg.lt"],"url":"https:\/\/startmsg.lt\/ru\/author\/startmsg-lt\/"}]}},"_links":{"self":[{"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/posts\/1759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/comments?post=1759"}],"version-history":[{"count":2,"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/posts\/1759\/revisions"}],"predecessor-version":[{"id":2421,"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/posts\/1759\/revisions\/2421"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/media\/1762"}],"wp:attachment":[{"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/media?parent=1759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/categories?post=1759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/startmsg.lt\/ru\/wp-json\/wp\/v2\/tags?post=1759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}