Skip to content

Commit

Permalink
Revert "Revert "Revert "Shaily fix lead create"""
Browse files Browse the repository at this point in the history
  • Loading branch information
shailykhamesra authored Oct 16, 2023
1 parent 2b607d5 commit d499594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file removed =
Empty file.
4 changes: 2 additions & 2 deletions source/includes/_leads_IN_V4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d499594

Please sign in to comment.