Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. Puszczamy request dodający nowy kontakt
  2. POST: https://app2.salesmanago.pl/api/contact/insert
  3.  
  4. {
  5.  
  6. "clientId": "2rdofxpi6y4nohsy",
  7.  
  8. "apiKey": "kvewazgzexgk76wtak611q0sou61esm7",
  9.  
  10. "requestTime": "1560928886645",
  11.  
  12. "sha": "0eac92a237da0a289ac827b8231923d4040ee3a4",
  13. "async": true,
  14. "contact" : {
  15.  
  16. "email": "alt.di-adneceh@yopmail.com",
  17.  
  18. "owner": "magdalena.guzik@pl.naos.com",
  19.  
  20. "lang": "PL",
  21.  
  22. "forceOptIn" : true,
  23. "forceOptOut" : false,
  24. "forcePhoneOptIn" : true,
  25. "forcePhoneOptOut" : false,
  26. "tags" : [ "TUTAJ WPISAĆ TAG","TUTAJ WPISAĆ TAG 0 BS_SOCIETE?"],
  27.  
  28.  
  29. }
  30.  
  31. 2.Wysyłamy maila z potwierdzeniem
  32. POST: https://app2.salesmanago.pl/api/email/sendConfirmation
  33.  
  34. {
  35.  
  36. "clientId": "2rdofxpi6y4nohsy",
  37.  
  38. "apiKey": "kvewazgzexgk76wtak611q0sou61esm7",
  39.  
  40. "requestTime": "1560928886645",
  41.  
  42. "sha": "0eac92a237da0a289ac827b8231923d4040ee3a4",
  43.  
  44. "email": "alt.di-adneceh@yopmail.com",
  45.  
  46. "owner": "magdalena.guzik@pl.naos.com",
  47.  
  48. "lang": "PL",
  49.  
  50. "apiDoubleOptInEmailTemplateId": "4d2510ab-e530-4b5e-8251-61705b6b8da7",
  51.  
  52. "apiDoubleOptInEmailAccountId": "23aebc7b-40e9-4667-a306-bbe8fcda02b9",
  53.  
  54. "apiDoubleOptInEmailSubject": "Witaj w świecie BIOsfera! Jeszcze tylko potwierdzenie"
  55.  
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement