Email

Add a block entry

Blocks an email address or domain from inbound receiving and returns the created block entry. Responds with 201.

post/v1/email/blocks

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/email/blocks
  • Auth: API key in header x-api-key

Request body

blockType'email' | 'domain' required
blockValuestring required
reasonstring required
notesstring nullable
expiresAtstring nullable

Response

Success

idstring required
blockType'email' | 'domain' required
blockValuestring required
reasonstring required
notesstring nullable required
isActiveboolean required
expiresAtstring nullable required
createdAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.