provider Lists GET /marketing/lists
@utdk/sendgrid /marketing/lists
Get All Lists
**This endpoint returns an array of all of your contact lists.**
page_size query
Maximum number of elements to return. Defaults to 100, returns 1000 max
number
page_token query
string

Try it

Authentication
Configure credentials for Email Activity (beta)
getMcLists
GET/marketing/lists
**This endpoint returns an array of all of your contact lists.**

Maximum number of elements to return. Defaults to 100, returns 1000 max

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.getMcLists({
  "page_size": 100
})