我很难找到API,以便在将简报发送到电子邮件列表后获取打开简报的人的联系人。在GetResponse的官方API文档中,我找不到解决方案。任何想法或建议都可以提供帮助。感谢。
答案 0 :(得分:0)
虽然它现在已经相当老了,但我会尝试回答,也许这对某人有帮助。
与GetResponse网络界面一样,您需要根据某些条件搜索联系人。 API文档的这些页面描述了如何完成此操作: http://apidocs.getresponse.com/v3/resources/search-contacts
搜索联系人是API中最复杂的部分。要保存对打开特定邮件的联系人的搜索,您需要将以下内容发送到https://api.getresponse.com/v3/search-contacts/:
{
"name": "test_conditions", //can be any you like
"subscribersType": [
"subscribed" //can also be "undelivered", "removed" and "unconfirmed"
],
"sectionLogicOperator": "or", //or "and"
"section": [ //section can have up to 8 conditions; one saved search can have up to 4 sections
{
"campaignIdsList": [
"V" //you'll need to get campaigns' IDs with http://apidocs.getresponse.com/v3/resources/campaigns#campaigns.get.all
],
"logicOperator": "or",
"subscriberCycle": [
"receiving_autoresponder",
"not_receiving_autoresponder"
],
"subscriptionDate": "all_time", //"today", "yesterday", "this_month", "last_month", "this_week", "last_week" are also possible
"conditions": [
{
"conditionType": "opened",
"operatorType": "message_operator",
"operator": "autoresponder", //or "newsletter", or "split"
"value": "WTjXF" //message id, should be firstly got with a separate API call
}
]
}
]
}
有关如何形成此类请求的有效负载的更多信息,请访问:http://apidocs.getresponse.com/v3/resources/search-contacts-reference
最后一点:如果您不需要保存搜索但只收到已打开邮件的电子邮件,则在上面的对象中,您应该删除"名称"属性并将其发布到http://apidocs.getresponse.com/v3/search-contacts/contacts 更多:http://apidocs.getresponse.com/v3/resources/search-contacts#search-contacts.contacts.form