List block entries
Returns block entries, newest first, optionally filtered by block type and active state.
GET
Returns block entries, newest first, optionally filtered by block type and active state. Pass nextCursor back as cursor for the next page; it is null on the last page.
apiKeyheader
x-api-key<token>blockType?stringValue in
"email""domain"isActive?boolean|nulllimit?|nullcursor?stringBlockPage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.listBlocks({});Example Response
{ "items": [ { "id": "string", "blockType": "email", "blockValue": "string", "reason": "string", "notes": "string", "isActive": true, "blockCount": 0, "lastBlockedAt": "string", "expiresAt": "string", "createdAt": "string" } ], "nextCursor": "string"}