-
Notifications
You must be signed in to change notification settings - Fork 1
Shubhajit Saha edited this page Jun 8, 2016
·
22 revisions
http://example.com/api
request/transactional/{message_id}
recipient/subscribe/{list}
recipient/unsubscribe/{list}
recipient/update-metadata/{list}
archive/get-info/{request_id}/{unsubscribe_key}Example:
curl -X POST -i http://example.com/api/request/transactional/1 -d \
"key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\
&to_name=nemo\
&to_email=nemo@example.com\
&pseudo_vars[foo]=bar"Example:
curl -X POST -i http://example.com/api/recipient/subscribe/test -d \
"key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\
&to_name=nemo\
&to_email=nemo@example.com\
&custom_id=\
&metadata[username]=nemo\
&metadata[location]=IN\
&unsubscribed=1000-00-00 00:00:00\
&subscribed=20XX-XX-XX XX-XX-XX\
&updated=20XX-XX-XX XX-XX-XX"