IP Pool Requirement
The IP Pool name in your SendGrid requests (ip_pool_name) must match an IP Pool in SendPost that is configured to route traffic to your SendGrid provider. This ensures proper routing of emails through SendGrid.
Setup Steps:
- Note the IP Pool name you use in SendGrid (e.g., “transactional” or “marketing”)
- Create an IP Pool in SendPost with the exact same name
- Configure the SendPost IP Pool to route traffic to your SendGrid provider
Quick Migration Steps
1
Configure IP Pool
Create an IP Pool in SendPost with the same name as your SendGrid IP Pool, configured to route to SendGrid
2
Change the base URL
- From:
https://api.sendgrid.com - To:
https://api.sendpost.io/v1/sendgrid
3
Update the API key header
- From:
Authorization: Bearer SG.xxxx - To:
X-SubAccount-ApiKey: YOUR_SENDPOST_API_KEY
4
Send emails
Use the same payload format as before (including
ip_pool_name)Migration Example
- Before (SendGrid)
- After (SendPost)
The
ip_pool_name in your request must match an IP Pool configured in SendPost that routes to SendGrid. Without this, the SendGrid-Compatible API will not know where to route your emails.Supported SendGrid Features
Unsupported SendGrid Features
Error Response for Unsupported Fields:
Response Mapping
Next Steps
- Understand event types for tracking email status
- View analytics for your SendGrid emails
- Troubleshoot issues with the compatible API