Blocks

Test a block

Evaluates the block configuration against a test payload without persisting any changes. Returns the rendered output and any validation errors.

post/v2/blocks/test

Request body

list_type'CIDR' | 'EMAIL_DOMAIN' | 'NORMALIZED_EMAIL' | 'USER_AGENT' required
valuestring required

Response

Successful response

block_Idstring nullable required
result'BLACKLISTED' | 'NOT_LISTED' | 'WHITELISTED' required

Changes