SendGrid Suppressions
Manage Twilio SendGrid bounces, blocks, spam reports, unsubscribes, and suppression groups.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Key | api_key | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "SENDGRID_SUPPRESSIONS_ADD_SUPPRESSION_TO_ASM_GROUP", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("SENDGRID_SUPPRESSIONS_ADD_SUPPRESSION_TO_ASM_GROUP", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute SENDGRID_SUPPRESSIONS_ADD_SUPPRESSION_TO_ASM_GROUP --data '{ }'Tool 目录
可用 Tools
33 个可调用操作
Add suppressions to a suppression groupSENDGRID_SUPPRESSIONS_ADD_SUPPRESSION_TO_ASM_GROUP**This endpoint allows you to add email addresses to an unsubscribe group.** If you attempt to add suppressions to a group that has been deleted or does not exist, the suppressions will be added to the global suppressions list.需要连接
**This endpoint allows you to add email addresses to an unsubscribe group.** If you attempt to add suppressions to a group that has been deleted or does not exist, the suppressions will be added to the global suppressions list.
认证
需要 Connected AccountTags
Create a new suppression groupSENDGRID_SUPPRESSIONS_CREAT_ASM_GROUP**This endpoint allows you to create a new suppression group.** To add an email address to the suppression group, [create a Suppression](https://docs.sendgrid.com/api-reference/suppressions-suppressions/add-suppressions-to-a-suppression-group).需要连接
**This endpoint allows you to create a new suppression group.** To add an email address to the suppression group, [create a Suppression](https://docs.sendgrid.com/api-reference/suppressions-suppressions/add-suppressions-to-a-suppression-group).
认证
需要 Connected AccountTags
Add recipient addresses to the global suppression group.SENDGRID_SUPPRESSIONS_CREATE_GLOBAL_SUPPRESSION**This endpoint allows you to add one or more email addresses to the global suppressions group.**需要连接
**This endpoint allows you to add one or more email addresses to the global suppressions group.**
认证
需要 Connected AccountTags
Delete a Suppression GroupSENDGRID_SUPPRESSIONS_DELETE_ASM_GROUP**This endpoint allows you to delete a suppression group.** If a recipient uses the "one-click unsubscribe" option on an email associated with a deleted group, that recipient will be added to the global suppression list. Deleting a suppression group will remove the suppression, meaning email will once again be sent to the previously suppressed addresses. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.需要连接
**This endpoint allows you to delete a suppression group.** If a recipient uses the "one-click unsubscribe" option on an email associated with a deleted group, that recipient will be added to the global suppression list. Deleting a suppression group will remove the suppression, meaning email will once again be sent to the previously suppressed addresses. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.
认证
需要 Connected AccountTags
Delete a Global SuppressionSENDGRID_SUPPRESSIONS_DELETE_GLOBAL_SUPPRESSION**This endpoint allows you to remove an email address from the global suppressions group.** Deleting a suppression group will remove the suppression, meaning email will once again be sent to the previously suppressed addresses. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.需要连接
**This endpoint allows you to remove an email address from the global suppressions group.** Deleting a suppression group will remove the suppression, meaning email will once again be sent to the previously suppressed addresses. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.
认证
需要 Connected AccountTags
Delete a specific invalid emailSENDGRID_SUPPRESSIONS_DELETE_INVALID_EMAIL**This endpoint allows you to remove a specific email address from the invalid email address list.**需要连接
**This endpoint allows you to remove a specific email address from the invalid email address list.**
认证
需要 Connected AccountTags
Delete invalid emailsSENDGRID_SUPPRESSIONS_DELETE_INVALID_EMAILS**This endpoint allows you to remove email addresses from your invalid email address list.** There are two options for deleting invalid email addresses: 1) You can delete all invalid email addresses by setting `delete_all` to true in the request body. 2) You can delete some invalid email addresses by specifying certain addresses in an array in the request body.需要连接
**This endpoint allows you to remove email addresses from your invalid email address list.** There are two options for deleting invalid email addresses: 1) You can delete all invalid email addresses by setting `delete_all` to true in the request body. 2) You can delete some invalid email addresses by specifying certain addresses in an array in the request body.
认证
需要 Connected AccountTags
Delete a specific spam reportSENDGRID_SUPPRESSIONS_DELETE_SPAM_REPORT**This endpoint allows you to delete a specific spam report by email address.** Deleting a spam report will remove the suppression, meaning email will once again be sent to the previously suppressed address. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.需要连接
**This endpoint allows you to delete a specific spam report by email address.** Deleting a spam report will remove the suppression, meaning email will once again be sent to the previously suppressed address. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.
认证
需要 Connected AccountTags
Delete spam reportsSENDGRID_SUPPRESSIONS_DELETE_SPAM_REPORTS**This endpoint allows you to delete your spam reports.** Deleting a spam report will remove the suppression, meaning email will once again be sent to the previously suppressed address. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required. There are two options for deleting spam reports: 1. You can delete all spam reports by setting the `delete_all` field to `true` in the request body. 2. You can delete a list of select spam reports by specifying the email addresses in the `emails` array of the request body.需要连接
**This endpoint allows you to delete your spam reports.** Deleting a spam report will remove the suppression, meaning email will once again be sent to the previously suppressed address. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required. There are two options for deleting spam reports: 1. You can delete all spam reports by setting the `delete_all` field to `true` in the request body. 2. You can delete a list of select spam reports by specifying the email addresses in the `emails` array of the request body.
认证
需要 Connected AccountTags
Delete a specific blockSENDGRID_SUPPRESSIONS_DELETE_SUPPRESSION_BLOCK**This endpoint allows you to delete a specific email address from your blocks list.**需要连接
**This endpoint allows you to delete a specific email address from your blocks list.**
认证
需要 Connected AccountTags
Delete blocksSENDGRID_SUPPRESSIONS_DELETE_SUPPRESSION_BLOCKS**This endpoint allows you to delete all email addresses on your blocks list.** There are two options for deleting blocked emails: 1. You can delete all blocked emails by setting `delete_all` to `true` in the request body. 2. You can delete a selection of blocked emails by specifying the email addresses in the `emails` array of the request body.需要连接
**This endpoint allows you to delete all email addresses on your blocks list.** There are two options for deleting blocked emails: 1. You can delete all blocked emails by setting `delete_all` to `true` in the request body. 2. You can delete a selection of blocked emails by specifying the email addresses in the `emails` array of the request body.
认证
需要 Connected AccountTags
Delete a bounceSENDGRID_SUPPRESSIONS_DELETE_SUPPRESSION_BOUNCE**This endpoint allows you to remove an email address from your bounce list.**需要连接
**This endpoint allows you to remove an email address from your bounce list.**
认证
需要 Connected AccountTags
Delete bouncesSENDGRID_SUPPRESSIONS_DELETE_SUPPRESSION_BOUNCES**This endpoint allows you to delete all emails on your bounces list.** There are two options for deleting bounced emails: 1. You can delete all bounced emails by setting `delete_all` to `true` in the request body. 2. You can delete a selection of bounced emails by specifying the email addresses in the `emails` array of the request body. **WARNING:** You can not have both `emails` and `delete_all` set.需要连接
**This endpoint allows you to delete all emails on your bounces list.** There are two options for deleting bounced emails: 1. You can delete all bounced emails by setting `delete_all` to `true` in the request body. 2. You can delete a selection of bounced emails by specifying the email addresses in the `emails` array of the request body. **WARNING:** You can not have both `emails` and `delete_all` set.
认证
需要 Connected AccountTags
Delete a suppression from a suppression groupSENDGRID_SUPPRESSIONS_DELETE_SUPPRESSION_FROM_ASM_GROUP**This endpoint allows you to remove a suppressed email address from the given suppression group.** Removing an address will remove the suppression, meaning email will once again be sent to the previously suppressed addresses. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.需要连接
**This endpoint allows you to remove a suppressed email address from the given suppression group.** Removing an address will remove the suppression, meaning email will once again be sent to the previously suppressed addresses. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.
认证
需要 Connected AccountTags
Get information on a single suppression group.SENDGRID_SUPPRESSIONS_GET_ASM_GROUP**This endpoint allows you to retrieve a single suppression group.**需要连接
**This endpoint allows you to retrieve a single suppression group.**
认证
需要 Connected AccountTags
Retrieve all suppression groups for an email addressSENDGRID_SUPPRESSIONS_GET_ASM_SUPPRESSION**This endpoint returns a list of all groups from which the given email address has been unsubscribed.**需要连接
**This endpoint returns a list of all groups from which the given email address has been unsubscribed.**
认证
需要 Connected AccountTags
Retrieve a Global SuppressionSENDGRID_SUPPRESSIONS_GET_GLOBAL_SUPPRESSION**This endpoint allows you to retrieve a global suppression. You can also use this endpoint to confirm if an email address is already globally suppresed.** If the email address you include in the URL path parameter `{email}` is already globally suppressed, the response will include that email address. If the address you enter for `{email}` is not globally suppressed, an empty JSON object `{}` will be returned.需要连接
**This endpoint allows you to retrieve a global suppression. You can also use this endpoint to confirm if an email address is already globally suppresed.** If the email address you include in the URL path parameter `{email}` is already globally suppressed, the response will include that email address. If the address you enter for `{email}` is not globally suppressed, an empty JSON object `{}` will be returned.
认证
需要 Connected AccountTags
Retrieve a specific invalid emailSENDGRID_SUPPRESSIONS_GET_INVALID_EMAIL**This endpoint allows you to retrieve a specific invalid email addresses.**需要连接
**This endpoint allows you to retrieve a specific invalid email addresses.**
认证
需要 Connected AccountTags
Retrieve a specific spam reportSENDGRID_SUPPRESSIONS_GET_SPAM_REPORT**This endpoint allows you to retrieve a specific spam report by email address.**需要连接
**This endpoint allows you to retrieve a specific spam report by email address.**
认证
需要 Connected AccountTags
Retrieve a specific blockSENDGRID_SUPPRESSIONS_GET_SUPPRESSION_BLOCK**This endpoint allows you to retrieve a specific email address from your blocks list.**需要连接
**This endpoint allows you to retrieve a specific email address from your blocks list.**
认证
需要 Connected AccountTags
Retrieve a BounceSENDGRID_SUPPRESSIONS_GET_SUPPRESSION_BOUNCES**This endpoint allows you to retrieve a specific bounce by email address.**需要连接
**This endpoint allows you to retrieve a specific bounce by email address.**
认证
需要 Connected AccountTags
Retrieve bounce classification over time by domain statsSENDGRID_SUPPRESSIONS_GET_SUPPRESSION_BOUNCES_CLASSIFICATIONSThis endpoint will return the number of bounces for the classification specified in descending order for each day. You can retrieve the bounce classification totals in CSV format by specifying `"text/csv"` in the Accept header.需要连接
This endpoint will return the number of bounces for the classification specified in descending order for each day. You can retrieve the bounce classification totals in CSV format by specifying `"text/csv"` in the Accept header.
认证
需要 Connected AccountTags
Retrieve all suppression groups associated with the user.SENDGRID_SUPPRESSIONS_LIST_ASM_GROUP**This endpoint allows you to retrieve a list of all suppression groups created by this user.** This endpoint can also return information for multiple group IDs that you include in your request. To add a group ID to your request, simply append `?id=123456&id=123456`, with the appropriate group IDs.需要连接
**This endpoint allows you to retrieve a list of all suppression groups created by this user.** This endpoint can also return information for multiple group IDs that you include in your request. To add a group ID to your request, simply append `?id=123456&id=123456`, with the appropriate group IDs.
认证
需要 Connected AccountTags
Retrieve all suppressionsSENDGRID_SUPPRESSIONS_LIST_ASM_SUPPRESSION**This endpoint allows you to retrieve a list of all suppressions.**需要连接
**This endpoint allows you to retrieve a list of all suppressions.**
认证
需要 Connected AccountTags
Retrieve all global suppressionsSENDGRID_SUPPRESSIONS_LIST_GLOBAL_SUPPRESSION**This endpoint allows you to retrieve a paginated list of all email address that are globally suppressed.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.需要连接
**This endpoint allows you to retrieve a paginated list of all email address that are globally suppressed.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.
认证
需要 Connected AccountTags
Retrieve all invalid emailsSENDGRID_SUPPRESSIONS_LIST_INVALID_EMAIL**This endpoint allows you to retrieve a paginated list of all invalid email addresses.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.需要连接
**This endpoint allows you to retrieve a paginated list of all invalid email addresses.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.
认证
需要 Connected AccountTags
Retrieve all spam reportsSENDGRID_SUPPRESSIONS_LIST_SPAM_REPORT**This endpoint allows you to retrieve a paginated list of all spam reports.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.需要连接
**This endpoint allows you to retrieve a paginated list of all spam reports.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.
认证
需要 Connected AccountTags
Retrieve all blocksSENDGRID_SUPPRESSIONS_LIST_SUPPRESSION_BLOCK**This endpoint allows you to retrieve a paginated list of all email addresses that are currently on your blocks list.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.需要连接
**This endpoint allows you to retrieve a paginated list of all email addresses that are currently on your blocks list.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.
认证
需要 Connected AccountTags
Retrieve all bouncesSENDGRID_SUPPRESSIONS_LIST_SUPPRESSION_BOUNCES**This endpoint allows you to retrieve a paginated list of all your bounces.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.需要连接
**This endpoint allows you to retrieve a paginated list of all your bounces.** You can use the `limit` query parameter to set the page size. If your list contains more items than the page size permits, you can make multiple requests. Use the `offset` query parameter to control the position in the list from which to start retrieving additional items.
认证
需要 Connected AccountTags
Retrieve bounce classification totalsSENDGRID_SUPPRESSIONS_LIST_SUPPRESSION_BOUNCES_CLASSIFICATIONSThis endpoint will return the total number of bounces by classification in descending order for each day. You can retrieve the bounce classification totals in CSV format by specifying `"text/csv"` in the Accept header.需要连接
This endpoint will return the total number of bounces by classification in descending order for each day. You can retrieve the bounce classification totals in CSV format by specifying `"text/csv"` in the Accept header.
认证
需要 Connected AccountTags
Retrieve all suppressions for a suppression groupSENDGRID_SUPPRESSIONS_LIST_SUPPRESSION_FROM_ASM_GROUP**This endpoint allows you to retrieve all suppressed email addresses belonging to the given group.**需要连接
**This endpoint allows you to retrieve all suppressed email addresses belonging to the given group.**
认证
需要 Connected AccountTags
Search for suppressions within a groupSENDGRID_SUPPRESSIONS_SEARCH_SUPPRESSION_FROM_ASM_GROUP**This endpoint allows you to search a suppression group for multiple suppressions.** When given a list of email addresses and a group ID, this endpoint will only return the email addresses that have been unsubscribed from the given group.需要连接
**This endpoint allows you to search a suppression group for multiple suppressions.** When given a list of email addresses and a group ID, this endpoint will only return the email addresses that have been unsubscribed from the given group.
认证
需要 Connected AccountTags
Update a suppression group.SENDGRID_SUPPRESSIONS_UPDATE_ASM_GROUP**This endpoint allows you to update or change a suppression group.**需要连接
**This endpoint allows you to update or change a suppression group.**
认证
需要 Connected AccountTags