From 4c6194e2d631e36473a77eff1c6038b93561e4f7 Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 13:08:22 +0530 Subject: [PATCH] Revert "Shaily fix lead create" --- = | 0 source/includes/_leads_IN_V4.md | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 = diff --git a/= b/= deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/source/includes/_leads_IN_V4.md b/source/includes/_leads_IN_V4.md index 89032fa8ccf..b96341f6941 100644 --- a/source/includes/_leads_IN_V4.md +++ b/source/includes/_leads_IN_V4.md @@ -26,9 +26,9 @@ response.json() curl 'https://api.squadstack.com/api/v4/leads/create/{campaign_id}/' \ -H 'Authorization: Bearer test_token' \ -H 'Content-Type: application/json' \ ---data-binary $'{"lead_id": 1, "phone_number": "{valid phone number}", \ +--data-binary $'[{"lead_id": 1, "phone_number": "{valid phone number}", \ "contact_name": "John Doe", \ -"{custom_field_1}": "{custom_value}", "{custom_field_2}": "{custom_value}"}' +"{custom_field_1}": "{custom_value}", "{custom_field_2}": "{custom_value}"}]' ``` > Json payload example: