APIContacts
Block a sender
Block an email address (type: "EMAIL") or an entire domain (type: "DOMAIN"). Blocked senders cannot create new threads or post on existing ones. Requires the contacts:write scope.
POST
/contacts/blocked-senderscurl -X POST "https://productlane.com/api/v2/contacts/blocked-senders" \
-H "Authorization: Bearer $PRODUCTLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "EMAIL",
"value": "string"
}'Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <token>, where<token>is your auth token.
Body
application/json
typeenum<string>requiredEMAILblocks a single address,DOMAINblocks every sender at that domain.One of:EMAILDOMAINvaluestringrequiredEmail address (when
type=EMAIL) or bare domain likeexample.com(whentype=DOMAIN). Case-insensitive; normalized to lowercase.
Response
application/json
Successful response
idstringrequiredvaluestringrequiredtypeenum<string>requiredOne of:EMAILDOMAINcreated_atstringrequired
{
"id": "string",
"value": "string",
"type": "EMAIL",
"created_at": "string"
}