List suppressed addresses with cursor pagination
GET
/v1/suppressions
const url = 'https://your-notavia-host/v1/suppressions?reason=HardBounce&limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://your-notavia-host/v1/suppressions?reason=HardBounce&limit=25' \ --header 'Authorization: Bearer <token>'Returns a cursor-paginated list of suppressed addresses for the authenticated environment. Requires a full-access API key.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” address
string
Filter to entries whose address equals this value.
reason
string
Filter by suppression reason (case-insensitive). Note these filter
values are the enum names, distinct from the snake_case values
returned in the reason response field.
limit
integer
cursor
string
Responses
Section titled “ Responses ”Paginated list of suppressed addresses.
Media type application/json
object
data
Array<object>
object
id
string format: uuid
address
string
reason
string
source
string
diagnostic_detail
string
triggering_notification_id
string format: uuid
suppressed_at
string format: date-time
has_more
boolean
next_cursor
string
Example
{ "data": [ { "reason": "hard_bounce", "source": "provider" } ]}Validation or request error.
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
Example generated
{ "error": { "type": "example", "code": "example", "message": "example", "param": "example" }}Missing or invalid credentials.
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
Example generated
{ "error": { "type": "example", "code": "example", "message": "example", "param": "example" }}Credentials do not have the required scope.
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
Example generated
{ "error": { "type": "example", "code": "example", "message": "example", "param": "example" }}