provider Blocks API GET /suppression/blocks
@utdk/sendgrid /suppression/blocks
Retrieve all blocks
**This endpoint allows you to retrieve all email addresses that are currently on your blocks list.**
start_time query
The start of the time range when a blocked email was created (inclusive). This is a unix timestamp.
integer
end_time query
The end of the time range when a blocked email was created (inclusive). This is a unix timestamp.
integer
limit query
Limit the number of results to be displayed per page.
integer
offset query
The point in the list to begin displaying results.
integer
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
getSuppressionBlocks
GET/suppression/blocks
**This endpoint allows you to retrieve all email addresses that are currently on your blocks list.**

The start of the time range when a blocked email was created (inclusive). This is a unix timestamp.

The end of the time range when a blocked email was created (inclusive). This is a unix timestamp.

Limit the number of results to be displayed per page.

The point in the list to begin displaying results.

Configure credentials above to enable sending.

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

TypeScript

import sendgrid from '@utdk/sendgrid';

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