From 80261500bdd0e6974bc1e097dc2c83326f2e8c22 Mon Sep 17 00:00:00 2001 From: shailykhamesra Date: Mon, 16 Oct 2023 13:15:27 +0530 Subject: [PATCH] Revert "Revert "Revert "Revert "Shaily fix lead create"""" --- = | 0 source/includes/_leads_IN_V4.md | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 = diff --git a/= b/= new file mode 100644 index 00000000000..e69de29bb2d diff --git a/source/includes/_leads_IN_V4.md b/source/includes/_leads_IN_V4.md index b96341f6941..89032fa8ccf 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: