Once your SendGrid provider and IP Pool are configured, you can send emails through SendGrid using the standard SendPost API.Documentation Index
Fetch the complete documentation index at: https://docs.sendpost.io/llms.txt
Use this file to discover all available pages before exploring further.
Important: You must include the
ippool parameter in your API request to route emails through SendGrid.Basic Email Example
Email with Personalization
Using SendGrid IP Pools
If you have multiple IP Pools configured in your SendGrid account and want to specify which SendGrid IP Pool to use for sending, you can pass thetpspIppool parameter in your API request.
The
tpspIppool field is optional. Use it when you want to route emails through a specific IP Pool on the SendGrid side, separate from the SendPost IP Pool routing.ippool: The SendPost IP Pool that routes traffic to SendGrid (required)tpspIppool: The IP Pool name configured in your SendGrid account (optional)
ippool: "sendgrid-pool"- Routes the email through SendPost’s IP Pool configured for SendGridtpspIppool: "transactional"- Sends the email via the “transactional” IP Pool in your SendGrid account
Response
Success Response (HTTP 200):Next Steps
- Migrate from SendGrid using the SendGrid-Compatible API
- Understand event types for tracking email status
- View analytics for your SendGrid emails