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)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

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

Enter a gateway URL 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
})