sdkProvider-backed

List email suppressions

pipeline.listEmailSuppressions

List email addresses and domains suppressed from native campaign delivery in the selected workspace.

Parameters

workspaceIdrequired
string
No description.
q
string
No description.
cursor
string
No description.
limit
number
No description.

Example

TypeScripttypescript
await pipeline.listEmailSuppressions({
"workspaceId": "00000000-0000-4000-8000-000000000000"
})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"email": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"email",
"domain"
]
},
"reason": {
"type": "string"
},
"source": {
"type": "string"
},
"createdAt": {
"type": "string"
}
},
"required": [
"id",
"email",
"kind",
"reason",
"source",
"createdAt"
]
}
},
"nextCursor": {
"type": "string"
}
},
"required": [
"data"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline