Block specific emails or phone numbers from appearing in your Openmart enrichment results.
Overview
Use this endpoint to add deny rules scoped to your API key. Any contact whose email or phone number matches one of your rules will be suppressed from future enrichment output, across:
find decision makers (find_people)
enrich known people (lookup_people)
find company emails (lookup_business_email)
Duplicate values are ignored, so you can safely send the same request again.
Before you start
Make sure you have:
an Openmart account
an API key
a tool to send API requests, such as Postman or curl
Authentication. We recommend sending your API key as Authorization: Bearer <your_api_key>. If your current integration already uses X-API-Key: <your_api_key>, it will continue to work.
Deny rules belong to the team connected to your API key, so they only affect that team's enrichment requests.
1
Example: Block two email addresses
Endpoint
POST https://api.openmart.ai/api/v2/deny-rules
Parameters
Parameter
type
Type
string (enum)
Required
Yes
Example
"email"
Description
Identifier kind. Must be exactly "email" or "phone"; any other value returns 400 detail:"Type must be one of [email phone]".
Parameter
values
Type
array[string]
Required
Yes
Example
["blocked@example.com"]
Description
Literal identifiers to add, remove, or check. Emails are matched case-insensitively at lookup time. Phones should be E.164 formatted.
Parameter
Type
Required
Example
Description
type
string (enum)
Yes
"email"
Identifier kind. Must be exactly "email" or "phone"; any other value returns 400 detail:"Type must be one of [email phone]".
values
array[string]
Yes
["blocked@example.com"]
Literal identifiers to add, remove, or check. Emails are matched case-insensitively at lookup time. Phones should be E.164 formatted.