provider Lists GET /marketing/lists/{id}/contacts/count
@utdk/sendgrid /marketing/lists/{id}/contacts/count
Get List Contact Count
**This endpoint returns the number of contacts on a specific list.**
id path required
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.

getMcListsIdContactsCount
GET/marketing/lists/{id}/contacts/count
**This endpoint returns the number of contacts on a specific list.**

Parameters

required

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.getMcListsIdContactsCount()