This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
api-contact-signup [2014/12/20 11:41] 127.0.0.1 external edit |
api-contact-signup [2017/07/26 08:24] (current) |
||
---|---|---|---|
Line 11: | Line 11: | ||
| URL | <nowiki>https://api.sentoriapp.com/webhooks/contact/signup.ashx</nowiki> | | | URL | <nowiki>https://api.sentoriapp.com/webhooks/contact/signup.ashx</nowiki> | | ||
| HTTP METHOD | POST | | | HTTP METHOD | POST | | ||
- | | Content Type | application/json | | + | | Content-Type | application/json | |
===== JSON Request Parameters ===== | ===== JSON Request Parameters ===== | ||
Line 48: | Line 48: | ||
POST https://api.sentoriapp.com/webhooks/contact/signup.ashx HTTP/1.1 | POST https://api.sentoriapp.com/webhooks/contact/signup.ashx HTTP/1.1 | ||
Host: api.sentoriapp.com | Host: api.sentoriapp.com | ||
+ | Content-Type: application/json | ||
Content-Length: 144 | Content-Length: 144 | ||
Line 53: | Line 54: | ||
"ApiKey":"00000000-0000-0000-0000-000000000000", | "ApiKey":"00000000-0000-0000-0000-000000000000", | ||
"EmailAddress":"example@sentoriapp.com", | "EmailAddress":"example@sentoriapp.com", | ||
- | "SignUpFormExternalID":"12ABCDE3” | + | "SignUpFormExternalID":"12ABCDE3" |
} | } | ||
</code> | </code> | ||
Line 76: | Line 77: | ||
POST https://api.sentoriapp.com/webhooks/contact/signup.ashx HTTP/1.1 | POST https://api.sentoriapp.com/webhooks/contact/signup.ashx HTTP/1.1 | ||
Host: api.sentoriapp.com | Host: api.sentoriapp.com | ||
+ | Content-Type: application/json | ||
Content-Length: 269 | Content-Length: 269 | ||
Line 81: | Line 83: | ||
"ApiKey":"00000000-0000-0000-0000-000000000000", | "ApiKey":"00000000-0000-0000-0000-000000000000", | ||
"EmailAddress":"example@sentoriapp.com", | "EmailAddress":"example@sentoriapp.com", | ||
- | "SignUpFormExternalID":"12ABCDE3”, | + | "SignUpFormExternalID":"12ABCDE3", |
"MailingLists":["QWERTY1A","ABCDEFG1"], | "MailingLists":["QWERTY1A","ABCDEFG1"], | ||
- | "ContactFields":{"FirstName":"Example", "LastName":"Contact"}, | + | "ContactFields":{"FirstName":"Example", "LastName":"Contact"}, |
- | "Tags":["Example",”SentoriApp”], | + | "Tags":["Example","SentoriApp"], |
- | " RequireConfirmation":"true” | + | "RequireConfirmation":"true" |
} | } | ||
</code> | </code> |