Get Blocks
get_blocksList email addresses that have been blocked by SendGrid. These are emails that were rejected due to receiving server issues. Example: get_blocks({ limit: 50, _apiKey: "SG.xxx" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"_apiKey": "your-sendgrid-api-key"
},
"name": "get_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (default 100, max 500) | |
| _apiKey | Yes | SendGrid API key (SG.xxx) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||