Masseleria
Masseleria

Reputation: 299

Sendgrid mailing list id

Is there any way to get my created mailing list ID in sendgrid without login graphically! knowing that to upload receipients into my list will require its ID as parameter of link..

POST https://api.sendgrid.com/v3/contactdb/lists/{list_id}/recipients HTTP/1.1

as mentionned in their website : https://sendgrid.com/docs/API_Reference/Web_API_v3/Marketing_Campaigns/contactdb.html#Add-Multiple-Recipients-to-a-List-POST

Upvotes: 5

Views: 5075

Answers (2)

Bennett Oh
Bennett Oh

Reputation: 81

Really late now, but for anyone looking for solution from SendGrid webapp, you can grab it from the url when you are viewing the list.

Upvotes: 8

bwest
bwest

Reputation: 9814

You can retrieve your list IDs with a GET call to /lists

https://sendgrid.com/docs/API_Reference/Web_API_v3/Marketing_Campaigns/contactdb.html#List-All-Lists-GET

Upvotes: 3

Related Questions