provider Suppressions - Suppressions POST /asm/groups/{group_id}/suppressions/search
@utdk/sendgrid /asm/groups/{group_id}/suppressions/search
Search for suppressions within a 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.
group_id path required
The ID of the suppression group that you would like to search.
string
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postAsmGroupsGroupIdSuppressionsSearch
POST/asm/groups/{group_id}/suppressions/search
**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.

Parameters

required

The ID of the suppression group that you would like to search.

Input

required

The array of email addresses to add or find.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.postAsmGroupsGroupIdSuppressionsSearch({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})