provider Contacts API - Lists POST /contactdb/lists
@utdk/sendgrid /contactdb/lists
Create a List
**This endpoint allows you to create a list for your recipients.**
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
postContactdbLists
POST/contactdb/lists
**This endpoint allows you to create a list for your recipients.**

Input

required

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.postContactdbLists({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})