Provided free and as is, without warranty of any kind — including merchantability, fitness for a particular purpose, and the accuracy or completeness of any result. See the licence. You are responsible for checking what this produces before relying on it.
emailmarketing-emailsendgrid
Sendgrid Mc Lists V3
SendGrid Marketing Campaigns Lists API is a SendGrid API connector for organizing email contacts into marketing lists.
Base URL: https://api.sendgrid.com
Auth: bearer (pass your key via the apiKey input)
Operations
listmarketinglist — GET /v3/marketing/lists — Get All Lists
getmarketinglist — GET /v3/marketing/lists/{id} — Get a List by ID
listcontactcount — GET /v3/marketing/lists/{id}/contacts/count — Get List Contact Count
createmarketinglist — POST /v3/marketing/lists — Create List
deletemarketinglist — DELETE /v3/marketing/lists/{id} — Delete a list
updatemarketinglist — PATCH /v3/marketing/lists/{id} — Update List
Inputs
apiKey — your sendgrid-mc-lists-v3 API key
operation — one of the operations above
path parameters when an operation's path contains {...}
query — optional JSON object of query params
body — JSON object for create/update ops
Example
operation: listmarketinglist
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
error
operation
result
status
Input Properties
Every property this tool accepts, from its own tool.iml.
Property
Type
Required
Default
Description
apiKey
string
yes
—
DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change.
operation
string
yes
—
One of: listmarketinglist, getmarketinglist, listcontactcount, createmarketinglist, deletemarketinglist, updatemarketinglist
id
string
no
—
Path parameter id (required by some operations).
query
string
no
—
Optional query params as a JSON object string, e.g. {"limit": 10}.
body
string
no
—
Request body as a JSON object string (for create/update operations).