{"id":389,"date":"2024-09-21T17:55:54","date_gmt":"2024-09-21T14:55:54","guid":{"rendered":"https:\/\/help.testbh.ru\/?p=389"},"modified":"2025-09-18T14:01:44","modified_gmt":"2025-09-18T11:01:44","slug":"kak-napisat-json-path","status":"publish","type":"post","link":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/","title":{"rendered":"How to write JSON Path"},"content":{"rendered":"<p data-start=\"0\" data-end=\"275\">In the <strong data-start=\"7\" data-end=\"29\">&#8220;External Request&#8221;<\/strong> action, you can configure response mapping to save the received data into user fields. To do this, you must correctly specify the <strong data-start=\"160\" data-end=\"173\">JSON Path<\/strong>. BotHelp will use this path to locate data in the response and write it to the designated user field.<\/p>\n<p data-start=\"277\" data-end=\"373\">Responses are received in <strong data-start=\"303\" data-end=\"318\">JSON format<\/strong>. Below are examples of response bodies in JSON format.<\/p>\n<p data-start=\"375\" data-end=\"444\"><strong data-start=\"375\" data-end=\"444\">1. Simple case. A list of data is returned: one field \u2014 one value<\/strong><\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl\">json<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\">&nbsp;<\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre!\"><span class=\"hljs-punctuation\">{<\/span><br \/>\n   <span class=\"hljs-attr\">\"name\"<\/span><span class=\"hljs-punctuation\">:<\/span><span class=\"hljs-string\">\"Ivan\"<\/span><span class=\"hljs-punctuation\">,<\/span><br \/>\n   <span class=\"hljs-attr\">\"age\"<\/span><span class=\"hljs-punctuation\">:<\/span><span class=\"hljs-string\">\"30\"<\/span><br \/>\n<span class=\"hljs-punctuation\">}<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"491\" data-end=\"540\">How to write the JSON Path to extract each field:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl\">javascript<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\">&nbsp;<\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre!\">$.name   -&gt; <span class=\"hljs-string\">\"Ivan\"<\/span><br \/>\n$.age    -&gt; <span class=\"hljs-string\">\"30\"<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"587\" data-end=\"677\"><strong data-start=\"587\" data-end=\"677\">2. More complex case. An array of data is returned: one field contains multiple values<\/strong><\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl\">json<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\">&nbsp;<\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre!\"><span class=\"hljs-punctuation\">{<\/span><\/p>\n<p><span class=\"hljs-attr\">&nbsp; \"values\"<\/span><span class=\"hljs-punctuation\">:<\/span><\/p>\n<p><span class=\"hljs-punctuation\">&nbsp; &nbsp; [<\/span><\/p>\n<p><span class=\"hljs-punctuation\">&nbsp; &nbsp; &nbsp; [<\/span><span class=\"hljs-string\">\"nol\"<\/span><span class=\"hljs-punctuation\">]<\/span><span class=\"hljs-punctuation\">,<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp;<br \/>\n<span class=\"hljs-punctuation\">&nbsp; &nbsp; &nbsp; [<\/span><span class=\"hljs-string\">\"odin\"<\/span><span class=\"hljs-punctuation\">]<\/span><span class=\"hljs-punctuation\">,<\/span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>\n<span class=\"hljs-punctuation\">&nbsp; &nbsp; &nbsp; [<\/span><span class=\"hljs-string\">\"dva\"<\/span><span class=\"hljs-punctuation\">]<\/span><span class=\"hljs-punctuation\">,<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp;<br \/>\n<span class=\"hljs-punctuation\">&nbsp; &nbsp; &nbsp; [<\/span><span class=\"hljs-string\">\"tri\"<\/span><span class=\"hljs-punctuation\">]<\/span><\/p>\n<p><span class=\"hljs-punctuation\">&nbsp; &nbsp; ]<\/span><\/p>\n<p><span class=\"hljs-punctuation\">}<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"790\" data-end=\"928\">In this case, the <strong data-start=\"808\" data-end=\"820\">&#8220;values&#8221;<\/strong> field is an array of values. To retrieve a specific value from the array, you need to specify its position.<\/p>\n<p data-start=\"930\" data-end=\"979\">How to write the JSON Path to extract each value:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl\">javascript<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\">&nbsp;<\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre!\">$.values<span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.0<\/span>   -&gt; <span class=\"hljs-string\">\"nul\"<\/span><\/p>\n<p>$.values<span class=\"hljs-number\">.1<\/span><span class=\"hljs-number\">.0<\/span>   -&gt; <span class=\"hljs-string\">\"odin\"<\/span><\/p>\n<p>$.values<span class=\"hljs-number\">.2<\/span><span class=\"hljs-number\">.0<\/span>   -&gt; <span class=\"hljs-string\">\"dva\"<\/span><\/p>\n<p>$.values<span class=\"hljs-number\">.3<\/span><span class=\"hljs-number\">.0<\/span>   -&gt; <span class=\"hljs-string\">\"tri\"<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"1087\" data-end=\"1283\"><strong data-start=\"1087\" data-end=\"1101\">Important!<\/strong> You must include the second zero in the JSON Path, like <code data-start=\"1158\" data-end=\"1172\">$.values.*.0<\/code>. Without it, the &#8220;External Request&#8221; action will not be able to recognize and save the value to the user field.<\/p>\n<p data-start=\"1285\" data-end=\"1587\"><strong data-start=\"1285\" data-end=\"1299\">IMPORTANT!<\/strong> You can test whether your JSON Path is correct using this <a href=\"https:\/\/jsonpath.com\/\">service<\/a>. Paste your JSON Path into the top field, insert the response body into the &#8220;Inputs&#8221; field on the bottom left. The value retrieved from the specified response body using the given JSON Path will appear in the right field.<\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/files.carrotquest.io\/knowledge-bases-images\/articles\/49290\/49290-1669963654419-7lblqotj.png\" \/><\/p>\n<p data-start=\"1589\" data-end=\"1678\"><strong data-start=\"1589\" data-end=\"1603\">IMPORTANT!<\/strong> More detailed information about writing JSON Path can be found here: <a href=\"https:\/\/goessner.net\/articles\/JsonPath\/\">link<\/a>.<\/p>\n<p data-start=\"1680\" data-end=\"1741\" data-is-last-node=\"\" data-is-only-node=\"\"><strong data-start=\"1680\" data-end=\"1736\">Full instructions for the &#8220;External Request&#8221; action:<\/strong> <a href=\"\/dejstvie-vneshnij-zapros\/\">link<\/a><\/p>\n<hr data-start=\"1913\" data-end=\"1916\" \/>\n<p data-start=\"1918\" data-end=\"1964\">If you did not find the answer to your question, feel free to contact us in the chat inside your dashboard, message us on Telegram at <strong data-start=\"1851\" data-end=\"1873\">@BotHelpSupportBot<\/strong>, or email us at <strong data-start=\"1890\" data-end=\"1910\"><a class=\"cursor-pointer\" rel=\"noopener\" data-start=\"1892\" data-end=\"1908\">hello@bothelp.io<\/a><\/strong>.<\/p>\n<p>Get 14 Days of Full Access to the Platform<\/p>\n<p data-start=\"1966\" data-end=\"2095\">Enjoy the full functionality of the BotHelp platform for creating broadcasts, automated funnels, and chatbots \u2014 free for 14 days.<\/p>\n<p data-start=\"2097\" data-end=\"2117\"><a href=\"https:\/\/bothelp.io\/ru\"><strong data-start=\"2097\" data-end=\"2117\">Get 14 Days Free<\/strong><\/a><\/p>\n\r\n\t\t\t<div id=\"daexthefu-container\"\r\n\t\t\t\tclass=\"daexthefu-container daexthefu-layout-side-by-side daexthefu-alignment-left\"\r\n\t\t\t\tdata-post-id=\"389\">\r\n\r\n\t\t\t\t<div class=\"daexthefu-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefu-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefu-title\">\u0411\u044b\u043b\u0430 \u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u0430?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefu-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefu-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-yes daexthefu-button daexthefu-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-up-cls-1{fill:#c9c9c9;}.thumb-up-cls-2{fill:#e1e1e1;}.thumb-up-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_up\">\r\n                        <path class=\"thumb-up-cls-2 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-up-cls-3 daexthefu-icon-secondary-color\" x=\"10\" y=\"20\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefu-icon-primary-color\" d=\"m30.57,9.06l-.49-.1c-.81-.17-1.61.35-1.78,1.16l-5.3,11.74c-.17.81,3.16,1.61,3.97,1.78l1.96.41c.81.17,1.61-.35,1.78-1.16l2.18-10.27c.34-1.61-.7-3.21-2.31-3.56Z\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefu-icon-primary-color\" d=\"m38.17,20h-18.67c-.83,0-1.5.67-1.5,1.5v12c0,.83.67,1.5,1.5,1.5h16.27c.71,0,1.33-.5,1.47-1.21l2.4-12c.19-.93-.53-1.8-1.47-1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-no daexthefu-button daexthefu-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-down-cls-1{fill:#c9c9c9;}.thumb-down-cls-2{fill:#e1e1e1;}.thumb-down-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_down\">\r\n                        <path class=\"thumb-down-cls-2 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-down-cls-3 daexthefu-icon-secondary-color\" x=\"10\" y=\"13\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefu-icon-primary-color\" d=\"m30.57,38.94l-.49.1c-.81.17-1.61-.35-1.78-1.16l-5.3-11.74c-.17-.81,3.16-1.61,3.97-1.78l1.96-.41c.81-.17,1.61.35,1.78,1.16l2.18,10.27c.34,1.61-.7,3.21-2.31,3.56Z\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefu-icon-primary-color\" d=\"m38.17,28h-18.67c-.83,0-1.5-.67-1.5-1.5v-12c0-.83.67-1.5,1.5-1.5h16.27c.71,0,1.33.5,1.47,1.21l2.4,12c.19.93-.53,1.8-1.47,1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-comment\">\r\n\t\t\t\t\t<div class=\"daexthefu-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefu-comment-label\" class=\"daexthefu-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefu-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefu-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefu-comment-textarea\" class=\"daexthefu-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefu-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-submit daexthefu-button\">\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-cancel daexthefu-button\">\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-successful-submission-text\">\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u044c!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>How to correctly write JSON Path in the &#8220;External Request&#8221; action under the &#8220;Response Mapping&#8221; section<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_helpful_status":1,"footnotes":""},"categories":[22],"tags":[],"class_list":["post-389","post","type-post","status-publish","format-standard","hentry","category-api-i-vneshnij-zapros"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to write JSON Path<\/title>\n<meta name=\"description\" content=\"How to correctly write JSON Path in the &quot;External Request&quot; action under the &quot;Response Mapping&quot; section\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/How%20to%20correctly%20write%20JSON%20Path%20in%20the%20External%20Request%20action%20under%20the%20Response%20Mapping%20section\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to write JSON Path\" \/>\n<meta property=\"og:description\" content=\"How to correctly write JSON Path in the &quot;External Request&quot; action under the &quot;Response Mapping&quot; section\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bothelpru\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-21T14:55:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-18T11:01:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/files.carrotquest.io\/knowledge-bases-images\/articles\/49290\/49290-1669963654419-7lblqotj.png\" \/>\n<meta name=\"author\" content=\"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/\"},\"author\":{\"name\":\"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/#\\\/schema\\\/person\\\/3725f2e711da03f7380efe93da1a53ca\"},\"headline\":\"How to write JSON Path\",\"datePublished\":\"2024-09-21T14:55:54+00:00\",\"dateModified\":\"2025-09-18T11:01:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/\"},\"wordCount\":252,\"image\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/files.carrotquest.io\\\/knowledge-bases-images\\\/articles\\\/49290\\\/49290-1669963654419-7lblqotj.png\",\"articleSection\":[\"API and external request\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/\",\"url\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/\",\"name\":\"\u041a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c JSON Path \u0432 BotHelp: \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b | \u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/files.carrotquest.io\\\/knowledge-bases-images\\\/articles\\\/49290\\\/49290-1669963654419-7lblqotj.png\",\"datePublished\":\"2024-09-21T14:55:54+00:00\",\"dateModified\":\"2025-09-18T11:01:44+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/#\\\/schema\\\/person\\\/3725f2e711da03f7380efe93da1a53ca\"},\"description\":\"\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c JSON Path \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 BotHelp. \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/#primaryimage\",\"url\":\"https:\\\/\\\/files.carrotquest.io\\\/knowledge-bases-images\\\/articles\\\/49290\\\/49290-1669963654419-7lblqotj.png\",\"contentUrl\":\"https:\\\/\\\/files.carrotquest.io\\\/knowledge-bases-images\\\/articles\\\/49290\\\/49290-1669963654419-7lblqotj.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/kak-napisat-json-path\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"How to Work with BotHelp Service: Setting Up Your Account for Your Business Goals\",\"item\":\"https:\\\/\\\/help.bothelp.io\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to write JSON Path\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/\",\"name\":\"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp\",\"description\":\"\u0417\u0434\u0435\u0441\u044c \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0432\u0441\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/help.bothelp.io\\\/#\\\/schema\\\/person\\\/3725f2e711da03f7380efe93da1a53ca\",\"name\":\"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc2c651ad25d8a5ed31aeb69271b32a21caab387207adf0043a317f97bedafbd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc2c651ad25d8a5ed31aeb69271b32a21caab387207adf0043a317f97bedafbd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc2c651ad25d8a5ed31aeb69271b32a21caab387207adf0043a317f97bedafbd?s=96&d=mm&r=g\",\"caption\":\"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430\"},\"url\":\"https:\\\/\\\/help.bothelp.io\\\/en\\\/author\\\/t-karpikova\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to write JSON Path","description":"How to correctly write JSON Path in the \"External Request\" action under the \"Response Mapping\" section","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":"How to correctly write JSON Path in the \"External Request\" action under the \"Response Mapping\" section","og_locale":"en_US","og_type":"article","og_title":"How to write JSON Path","og_description":"How to correctly write JSON Path in the \"External Request\" action under the \"Response Mapping\" section","og_url":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/","og_site_name":"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp","article_publisher":"https:\/\/www.facebook.com\/bothelpru","article_published_time":"2024-09-21T14:55:54+00:00","article_modified_time":"2025-09-18T11:01:44+00:00","og_image":[{"url":"https:\/\/files.carrotquest.io\/knowledge-bases-images\/articles\/49290\/49290-1669963654419-7lblqotj.png","type":"","width":"","height":""}],"author":"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/#article","isPartOf":{"@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/"},"author":{"name":"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430","@id":"https:\/\/help.bothelp.io\/#\/schema\/person\/3725f2e711da03f7380efe93da1a53ca"},"headline":"How to write JSON Path","datePublished":"2024-09-21T14:55:54+00:00","dateModified":"2025-09-18T11:01:44+00:00","mainEntityOfPage":{"@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/"},"wordCount":252,"image":{"@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/#primaryimage"},"thumbnailUrl":"https:\/\/files.carrotquest.io\/knowledge-bases-images\/articles\/49290\/49290-1669963654419-7lblqotj.png","articleSection":["API and external request"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/","url":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/","name":"\u041a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c JSON Path \u0432 BotHelp: \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b | \u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439","isPartOf":{"@id":"https:\/\/help.bothelp.io\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/#primaryimage"},"image":{"@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/#primaryimage"},"thumbnailUrl":"https:\/\/files.carrotquest.io\/knowledge-bases-images\/articles\/49290\/49290-1669963654419-7lblqotj.png","datePublished":"2024-09-21T14:55:54+00:00","dateModified":"2025-09-18T11:01:44+00:00","author":{"@id":"https:\/\/help.bothelp.io\/#\/schema\/person\/3725f2e711da03f7380efe93da1a53ca"},"description":"\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c JSON Path \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 BotHelp. \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e.","breadcrumb":{"@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/#primaryimage","url":"https:\/\/files.carrotquest.io\/knowledge-bases-images\/articles\/49290\/49290-1669963654419-7lblqotj.png","contentUrl":"https:\/\/files.carrotquest.io\/knowledge-bases-images\/articles\/49290\/49290-1669963654419-7lblqotj.png"},{"@type":"BreadcrumbList","@id":"https:\/\/help.bothelp.io\/en\/kak-napisat-json-path\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"How to Work with BotHelp Service: Setting Up Your Account for Your Business Goals","item":"https:\/\/help.bothelp.io\/"},{"@type":"ListItem","position":2,"name":"How to write JSON Path"}]},{"@type":"WebSite","@id":"https:\/\/help.bothelp.io\/en\/#website","url":"https:\/\/help.bothelp.io\/en\/","name":"\u0411\u0430\u0437\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 BotHelp","description":"\u0417\u0434\u0435\u0441\u044c \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0432\u0441\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.bothelp.io\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/help.bothelp.io\/#\/schema\/person\/3725f2e711da03f7380efe93da1a53ca","name":"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fc2c651ad25d8a5ed31aeb69271b32a21caab387207adf0043a317f97bedafbd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fc2c651ad25d8a5ed31aeb69271b32a21caab387207adf0043a317f97bedafbd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fc2c651ad25d8a5ed31aeb69271b32a21caab387207adf0043a317f97bedafbd?s=96&d=mm&r=g","caption":"\u0422\u0430\u0442\u044c\u044f\u043d\u0430 \u041a\u0430\u0440\u043f\u0438\u043a\u043e\u0432\u0430"},"url":"https:\/\/help.bothelp.io\/en\/author\/t-karpikova\/"}]}},"_links":{"self":[{"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/posts\/389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/comments?post=389"}],"version-history":[{"count":10,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/posts\/389\/revisions"}],"predecessor-version":[{"id":5106,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/posts\/389\/revisions\/5106"}],"wp:attachment":[{"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/media?parent=389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/categories?post=389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.bothelp.io\/en\/wp-json\/wp\/v2\/tags?post=389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}