{"id":182,"date":"2018-10-16T05:58:30","date_gmt":"2018-10-16T05:58:30","guid":{"rendered":"http:\/\/jthemes.org\/wp\/xooapp\/?p=182"},"modified":"2025-10-21T11:31:19","modified_gmt":"2025-10-21T08:31:19","slug":"g-plus-crm-forms-api","status":"publish","type":"post","link":"https:\/\/g-plus.com.ua\/info\/documentation\/g-plus-crm-forms-api\/","title":{"rendered":"G-PLUS CRM. API \u0434\u043b\u044f \u043e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044f \u0444\u043e\u0440\u043c \u0441\u0430\u0439\u0442\u0443"},"content":{"rendered":"<p>API \u043f\u043e \u043e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044e \u0444\u043e\u0440\u043c \u0432 <a href=\"https:\/\/g-plus.com.ua\/solutions\/crm-for-developer\/\">G-PLUS CRM<\/a>, \u043d\u0430\u0434\u0430\u0454 \u043c\u043e\u0436\u043b\u0438\u0432\u0456\u0441\u0442\u044c, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 \u0432 CRM-\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043b\u0456\u0434\u0438 \u0437 \u0444\u043e\u0440\u043c \u0441\u0430\u0439\u0442\u0443, \u0456\u043d\u0448\u043e\u0433\u043e \u0441\u043e\u0444\u0442\u0443, \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0456\u0445 \u0440\u0456\u0448\u0435\u043d\u044c.<\/p>\n<p>\u0429\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043d\u043e\u0432\u0438\u0439 \u043b\u0456\u0434 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0456, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435<\/p>\n<pre><span style=\"font-weight: 400;\">POST <\/span><a href=\"https:\/\/crm.g-plus.app\/api\/actions\"><span style=\"font-weight: 400;\">https:\/\/crm.g-plus.app\/api\/actions<\/span><\/a><\/pre>\n<h5 class=\"h5-lg m-top-25 m-bottom-20\">\u041e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044f \u0434\u043e\u0432\u0456\u043b\u044c\u043d\u0438\u0445 \u0444\u043e\u0440\u043c<\/h5>\n<p>\u0424\u043e\u0440\u043c\u0430 \u043d\u0430\u0434\u0430\u0454 \u043c\u043e\u0436\u043b\u0438\u0432\u0456\u0441\u0442\u044c \u043e\u043f\u0440\u0430\u0446\u044c\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043e\u0432\u0456\u043b\u044c\u043d\u0456 \u043f\u043e\u043b\u044f<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">Field name<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">Description<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">token<\/span><\/td>\n<td><span style=\"font-weight: 400;\">required<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Your personal token<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">action<\/span><\/td>\n<td><span style=\"font-weight: 400;\">required<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Should be \u201c<\/span><span style=\"font-weight: 400;\">partner-custom-form<\/span><span style=\"font-weight: 400;\">\u201d<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">partner_id<\/span><\/td>\n<td><span style=\"font-weight: 400;\">required<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Your partner id<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">ip<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">IP address of the user who submitted a form on your site<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">name<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">Name from the from<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">phone<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">Phone from the form<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">email<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">Email from the form<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">building_id<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">ID of the Building from CRM<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">lang<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">Language code of the user who submitted a form (\u201cen\u201d, \u201cru\u201d, \u201cua\u201d, \u201cka\u201d&#8230;)<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">note<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">Note for this lead. For example: \u201c\u0417\u0430\u043f\u0438\u0442 \u0437 \u0444\u043e\u0440\u043c\u0438 \u0437\u0432\u043e\u0440\u043e\u0442\u043d\u043e\u0433\u043e \u0434\u0437\u0432\u0456\u043d\u043a\u0430\u201d<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">adv_id<\/span><\/td>\n<td>\u00a0<\/td>\n<td><span style=\"font-weight: 400;\">Custom identifier of this form. It is useful when adding the form handler in the <\/span><a href=\"https:\/\/crm.g-plus.app\/manage\/ads\"><span style=\"font-weight: 400;\">Ad Center<\/span><\/a><span style=\"font-weight: 400;\"> in your CRM.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u041f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043f\u0438\u0442\u0430\u043d\u043d\u044f \u043f\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044e API \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f\u0445 \u0434\u043e \u0437\u0430\u043f\u0438\u0441\u0443, \u0430\u0431\u043e \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0443.<\/p>\n<h2>\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 UTM-\u043c\u0456\u0442\u043e\u043a\u00a0<\/h2>\n<p>\u0429\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u0442\u0430\u043a\u0456 \u043c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\u043e\u0432\u0456 \u0434\u0430\u043d\u0456, \u044f\u043a UTM-\u043c\u0456\u0442\u043a\u0430, \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438 \u043f\u043e\u043b\u044f UTM \u0443 \u0442\u0456\u043b\u0456 \u0437\u0430\u043f\u0438\u0442\u0443. \u0417\u0432\u0435\u0440\u043d\u0456\u0442\u044c \u0443\u0432\u0430\u0433\u0443, \u0449\u043e \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u043f\u043e\u043b\u044f UTM \u044f\u043a \u0443 \u0442\u0456\u043b\u0456 POST \u0442\u0430\u043a \u0456 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 GET URL-\u0430\u0434\u0440\u0435\u0441\u0438 API:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><span style=\"font-weight: 400;\">utm_source<\/span><\/p>\n<\/td>\n<td>\u00a0<\/td>\n<td>\n<p><span style=\"font-weight: 400;\">Example: google<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><span style=\"font-weight: 400;\">utm_medium<\/span><\/p>\n<\/td>\n<td>\u00a0<\/td>\n<td>\n<p><span style=\"font-weight: 400;\">Example: banner<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><span style=\"font-weight: 400;\">utm_campaign<\/span><\/p>\n<\/td>\n<td>\u00a0<\/td>\n<td>\n<p><span style=\"font-weight: 400;\">Example: promo_code<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><span style=\"font-weight: 400;\">utm_term<\/span><\/p>\n<\/td>\n<td>\u00a0<\/td>\n<td>\n<p><span style=\"font-weight: 400;\">Example: christmas<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><span style=\"font-weight: 400;\">utm_content<\/span><\/p>\n<\/td>\n<td>\u00a0<\/td>\n<td>\n<p><span style=\"font-weight: 400;\">Example: Christmas_present<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5>\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0456 \u043f\u0438\u0442\u0430\u043d\u043d\u044f<\/h5>\n<p><strong>1. \u0414\u0435 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u201cpartner_id\u201d \u0456 \u201ctoken\u201d?\u00a0<\/strong><\/p>\n<p>\u0429\u043e\u0431 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0434\u043b\u044f <span style=\"font-weight: 400;\">\u201c<\/span><b>partner_id<\/b><span style=\"font-weight: 400;\">\u201d \u0456 \u201c<\/span><b>token<\/b><span style=\"font-weight: 400;\">\u201d \u043f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u043d\u0430 <a href=\"https:\/\/crm.g-plus.app\/manage\/crm\/integrations\">\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u0456\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0456\u0439<\/a> \u0432 \u0432\u0430\u0448\u0456\u0439 CRM \u0441\u0438\u0441\u0442\u0435\u043c\u0456.\u00a0<\/span><\/p>\n<p><strong>2. \u0427\u043e\u043c\u0443 \u0432 \u043c\u0435\u043d\u0435 \u043d\u0435\u043c\u0430\u0454 \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0434\u043e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438 \u0456\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0456\u0439 \u0432 CRM?<\/strong><\/p>\n<p>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435, \u0449\u043e \u043f\u0440\u043e\u0444\u0430\u0439\u043b (<em>\u0440\u043e\u043b\u044c<\/em>) \u0432 CRM \u0431\u0443\u0432 \u0440\u0456\u0432\u043d\u044f \u0430\u0434\u043c\u0456\u043d\u0456\u0441\u0442\u0440\u0430\u0442\u043e\u0440, \u043a\u0435\u0440\u0456\u0432\u043d\u0438\u043a, \u0430\u0431\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0456\u0441\u0442. \u0406\u043c\u043e\u0432\u0456\u0440\u043d\u043e, \u0443 \u0432\u0430\u0441 \u0456\u043d\u0448\u0438\u0439 \u0440\u0456\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0443 (\u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0437 \u043f\u0440\u043e\u0434\u0430\u0436\u0443, \u0435\u043a\u043e\u043d\u043e\u043c\u0456\u0441\u0442, \u0431\u0443\u0445\u0433\u0430\u043b\u0442\u0435\u0440). \u0426\u0456 \u0440\u043e\u043b\u0456 \u043d\u0435 \u043c\u0430\u044e\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0434\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u044c \u0456\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0456\u0439.<\/p>\n<h5>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 JavaScript \u0434\u043b\u044f \u043e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044f \u0444\u043e\u0440\u043c\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0456 \u0437\u0430\u0431\u0443\u0434\u043e\u0432\u043d\u0438\u043a\u0430<\/h5>\n<p>\u041d\u0430\u0432\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0438\u043a\u043b\u0430\u0434 JavaScrip, \u044f\u043a\u0438\u0439 \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u0434\u043b\u044f \u043e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044f \u0444\u043e\u0440\u043c \u043d\u0430 \u0441\u0430\u0439\u0442\u0456 \u0436\u0438\u0442\u043b\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u0443 \u0447\u0438 \u0441\u0430\u0439\u0442\u0456 \u0437\u0430\u0431\u0443\u0434\u043e\u0432\u043d\u0438\u043a\u0430. (\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043b\u043e\u0433\u0456\u043a\u0443 \u0440\u043e\u0437\u043f\u043e\u0434\u0456\u043b\u0435\u043d\u043d\u044f \u043b\u0456\u0434\u0456\u0432 \u0437 \u0444\u043e\u0440\u043c, \u043c\u043e\u0436\u043d\u0430 \u0432 \u0446\u0435\u043d\u0442\u0440\u0456 \u0440\u0435\u043a\u043b\u0430\u043c\u0438)\u00a0<\/p>\n\n\n<pre class=\"wp-block-code\"><code>var data = {\n    action: 'partner-custom-form',\n    token: 'TOKEN HERE',\n    partner_id: PARTNER ID HERE,\n    name: name,\n    phone: phone,\n    email: email,\n    building_id: BUILDING ID HERE,\n    lang: 'ua',\n    note: '\u0417\u0430\u043f\u0438\u0442 \u0437 \u0444\u043e\u0440\u043c\u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0456\u0432',\n    adv_id: '123123123'\n}\n$.ajax({\n    url: 'https:\/\/crm.g-plus.app\/api\/actions',\n    method: 'post',\n    data: data\n}).done(function(data) {\n    if (data.success) {\n        alert('\u0424\u043e\u0440\u043c\u0443 \u043d\u0430\u0434\u0456\u0441\u043b\u0430\u043d\u043e');\n    }\n    else {\n        alert('\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u043f\u0440\u0438 \u0432\u0456\u0434\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0456 \u0444\u043e\u0440\u043c\u0438');\n    }\n});<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0412\u0456\u0434\u0435\u043e \u0456\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0456\u044f \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0442\u0430 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u043d\u044f \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0444\u043e\u0440\u043c \u0441\u0430\u0439\u0442\u0443 \u0437\u0430\u0431\u0443\u0434\u043e\u0432\u043d\u0438\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0435 API G-PLUS CRM<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0445 \u0444\u043e\u0440\u043c \u0441\u0430\u0439\u0442\u0443 \u0434\u043e G-PLUS CRM | API | CRM-\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u0437\u0430\u0431\u0443\u0434\u043e\u0432\u043d\u0438\u043a\u0430\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/MPh1BiVURr0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>API \u043f\u043e \u043e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044e \u0444\u043e\u0440\u043c \u0432 G-PLUS CRM, \u043d\u0430\u0434\u0430\u0454 \u043c\u043e\u0436\u043b\u0438\u0432\u0456\u0441\u0442\u044c, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 \u0432 CRM-\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043b\u0456\u0434\u0438 \u0437 \u0444\u043e\u0440\u043c \u0441\u0430\u0439\u0442\u0443, \u0456\u043d\u0448\u043e\u0433\u043e \u0441\u043e\u0444\u0442\u0443, \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0456\u0445 \u0440\u0456\u0448\u0435\u043d\u044c. \u0429\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043d\u043e\u0432\u0438\u0439 \u043b\u0456\u0434 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0456, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 POST https:\/\/crm.g-plus.app\/api\/actions \u041e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044f \u0434\u043e\u0432\u0456\u043b\u044c\u043d\u0438\u0445 \u0444\u043e\u0440\u043c \u0424\u043e\u0440\u043c\u0430 \u043d\u0430\u0434\u0430\u0454 \u043c\u043e\u0436\u043b\u0438\u0432\u0456\u0441\u0442\u044c \u043e\u043f\u0440\u0430\u0446\u044c\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043e\u0432\u0456\u043b\u044c\u043d\u0456 \u043f\u043e\u043b\u044f Field name&#8230;<\/p>\n","protected":false},"author":1,"featured_media":169,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"page-template\/full-post-page.php","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[20,22,21,23],"class_list":["post-182","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-documentation","tag-api","tag-crm","tag-g-plus-crm","tag-23"],"_links":{"self":[{"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/posts\/182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":18,"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":6452,"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/posts\/182\/revisions\/6452"}],"wp:attachment":[{"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g-plus.com.ua\/info\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}