curl --request PATCH \
--url https://openapi.enginy.ai/v1/blocklist/{itemId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"periodDays": 30
}
'{
"status": "success",
"message": "<string>",
"data": {
"id": 123,
"type": "EMAIL",
"value": "<string>",
"source": "BLACKLIST",
"reason": "NOT_INTERESTED",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": {
"id": 123,
"name": "<string>"
}
}
}Blocklist
Update a blocklist entry
Update an existing blocklist entry. Updates to LinkedIn URL values are normalized before persisting. DOMAIN entries cannot be updated to a shared link-shortener host (e.g. linktr.ee, bit.ly).
Required scope:
BLOCKLIST_WRITERate limit: 30 requests per minute
PATCH
/
v1
/
blocklist
/
{itemId}
curl --request PATCH \
--url https://openapi.enginy.ai/v1/blocklist/{itemId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"periodDays": 30
}
'{
"status": "success",
"message": "<string>",
"data": {
"id": 123,
"type": "EMAIL",
"value": "<string>",
"source": "BLACKLIST",
"reason": "NOT_INTERESTED",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": {
"id": 123,
"name": "<string>"
}
}
}Authorizations
Path Parameters
The blocklist item ID
Body
application/json
New reason classification.
Available options:
NOT_INTERESTED, COMPETITOR, CUSTOMER, NOT_TARGET, OTHER, CHURN New raw value. LINKEDIN_URL / COMPANY_LINKEDIN_URL entries are normalized server-side; if normalization fails the request is rejected.
Minimum string length:
1Reset the expiry relative to now. Pass 0 or null to make the entry permanent. Ignored when expiresAt is supplied.
Required range:
x >= 0Explicit ISO-8601 expiry. Pass null to make the entry permanent. Takes precedence over periodDays.