API ReferenceEmail
List Email Blocks
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Query Parameters
blockType?unknown
Filter by block type
Value in
"email" | "domain"isActive?boolean
Filter by active status
limit?integer
Number of results
Default
50Range
-9007199254740991 <= value <= 9007199254740991offset?integer
Pagination offset
Default
0Range
0 <= value <= 9007199254740991Response Body
application/json
curl -X GET "https://samva.app/api/v1/email/blocks"{
"blocks": [
{
"id": "string",
"blockType": "email",
"blockValue": "string",
"reason": "string",
"notes": "string",
"isActive": true,
"blockCount": 0,
"lastBlockedAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
],
"total": 0
}