标签: php json api curl sendgrid
有没有办法在没有登录图形的情况下在sendgrid中获取我创建的邮件列表ID!知道将收据上传到我的列表中将需要其ID作为链接的参数..
POST https://api.sendgrid.com/v3/contactdb/lists/ {list_id} / recipients HTTP / 1.1
如其网站所述:https://sendgrid.com/docs/API_Reference/Web_API_v3/Marketing_Campaigns/contactdb.html#Add-Multiple-Recipients-to-a-List-POST
答案 0 :(得分:0)
您可以通过GET调用/lists
GET
/lists
https://sendgrid.com/docs/API_Reference/Web_API_v3/Marketing_Campaigns/contactdb.html#List-All-Lists-GET