Skip to main content
SendGrid logo

Overview

Add SendGrid to any ModuleX agent or workflow. SendGrid transactional + marketing email integration via the SendGrid v3 REST API. Pure HTTP, no SDK dep.
Categories: Marketing & Advertising · Marketing & Email · Email · Automation · Auth: API Key · Actions: 15

Authentication

API Key Authentication

Authenticate using your SendGrid API key. Create one in Settings > API Keys.

Required Credentials

Available Actions

Parameters

string
required
Recipient email address
string
required
Sender email address (must be verified)
string
required
Email subject line
string
required
Email body content (plain text or HTML)
string
Content type (‘text/plain’ or ‘text/html’) (Default: text/plain)
string
Sender display name
string
Recipient display name
string
Reply-to email address
array
CC email addresses
array
BCC email addresses

Response

Parameters

array
required
List of recipient email addresses
string
required
Sender email address (must be verified)
string
required
Email subject line
string
required
Email body content (plain text or HTML)
string
Content type (‘text/plain’ or ‘text/html’) (Default: text/plain)
string
Sender display name

Response

Parameters

string
required
Contact email address
string
Contact’s first name
string
Contact’s last name
string
First line of address
string
Second line of address
string
Contact’s city
string
State, province, or region
string
ZIP or postal code
string
Contact’s country
array
Additional email addresses
array
List IDs to add the contact to
object
Custom field values

Response

Parameters

string
required
SGQL query (e.g. “email LIKE ‘test%’” or “first_name=‘John’“)

Response

Parameters

string
required
Name for the new list (max 100 characters)

Response

Parameters

integer
Number of lists to return (max 1000) (Default: 100)

Response

Parameters

string
required
ID of the list
array
required
Contact IDs to remove

Response

Parameters

array
Contact IDs to delete
boolean
Delete every contact (use with caution) (Default: false)

Response

Parameters

array
required
Email addresses to suppress

Response

Parameters

string
required
Email address to remove

Response

Parameters

integer
Start time as Unix timestamp
integer
End time as Unix timestamp
integer
Maximum number of results (Default: 100)

Response

Parameters

integer
Start time as Unix timestamp
integer
End time as Unix timestamp

Response

Parameters

array
Email addresses to remove from bounce
boolean
Delete every bounce (use with caution) (Default: false)

Response

Parameters

integer
Start time as Unix timestamp
integer
End time as Unix timestamp
integer
Maximum number of results (Default: 100)

Response

Parameters

array
Email addresses to remove from block
boolean
Delete every block (use with caution) (Default: false)

Response

Limits & Quotas

  • 30s timeout on every request.
  • get_contact_lists.page_size is clamped at 1000 (SendGrid max).
  • Mutating actions wrap everything in try/except → success=False envelope (exa-style); HTTP timeouts surface as a distinct error message.

Klaviyo

AgentMail

Customer.io