POST api/Campaigns/GetPermanentBlocks

This API allows you to retrieve the email addresses that have been permanent blocked because we have received "Hard" bounce backs for that email address.

Request Information

URI Parameters

None.

Body Parameters

BlockedRequestModel
NameDescriptionTypeAdditional information
StartDate

Starting date range. If you do not provide a date, this will default to three years in the past

date

None.

EndDate

Ending date range. If you do not provide a date, this will default to the current date and time

date

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDate": "2025-10-23T21:22:37.85419-06:00",
  "EndDate": "2025-10-23T21:22:37.85419-06:00"
}

application/xml, text/xml

Sample:
<BlockedRequestModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <StartDate>2025-10-23T21:22:37.85419-06:00</StartDate>
  <EndDate>2025-10-23T21:22:37.85419-06:00</EndDate>
</BlockedRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BlockedResponseModel
NameDescriptionTypeAdditional information
Count

Number of permanently blocked records removed

integer

None.

Blocks

List of permanently blocked records

Collection of Block

None.

IsSuccessful

Indicator of whether the request was successful

boolean

None.

ErrorMessage

This will contain details of the error if it was not successful

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 3",
  "Count": 1,
  "Blocks": null
}