Skip to main content
DELETE
/
v1
/
campaigns
/
{campaignId}
/
blocked-leads
Delete Campaign Blocked Leads
curl --request DELETE \
  --url https://app-api.walead.ai/api/v1/campaigns/{campaignId}/blocked-leads \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "publicIdentifiers": [
    "<string>"
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "unblocked": 123
}

Overview

Removes leads from the blocked list of a specific campaign, allowing them to receive campaign messages again. This endpoint unblocks previously blocked LinkedIn profiles.
License Requirement: This endpoint requires a Pro or Agency license to use.

Use Cases

  • Unblock Contacts: Remove leads from the blocked list to allow outreach
  • Correct Mistakes: Restore leads that were blocked by error
  • Update Targeting: Re-enable contact with leads that now match your criteria

Authentication

All requests require an API key passed in the x-api-key header. You can generate your API key from the WaLead dashboard.

Example Request

curl -X DELETE https://app-api.walead.ai/api/v1/campaigns/CAMPAIGN_ID/blocked-leads \
  -H "x-api-key: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "publicIdentifiers": [
      "john-doe",
      "jane-smith"
    ]
  }'

Request Details

This endpoint requires an API key for authentication and accepts an array of LinkedIn public identifiers to unblock.

Request Body

The body should contain:
  • publicIdentifiers (required): Array of LinkedIn public identifiers to unblock

Public Identifiers

The publicIdentifiers field should contain LinkedIn profile identifiers (the username part of a LinkedIn URL). For example, from linkedin.com/in/john-doe, the public identifier would be john-doe.

Important Notes

  • License Required: Pro or Agency license is required to use this endpoint
  • The publicIdentifiers array is required and must not be empty
  • You can unblock multiple leads in a single request
  • Unblocked leads will be able to receive campaign messages again
  • This only affects the specific campaign’s blocked list
  • This is a public route that requires API key authentication

Authorizations

x-api-key
string
header
required

API key for authentication. Generate from your WaLead dashboard.

Path Parameters

campaignId
string
required

Campaign ID

Body

application/json

Public identifiers of leads to unblock

publicIdentifiers
string[]
required

Array of LinkedIn public identifiers to block (e.g., 'john-doe' from linkedin.com/in/john-doe)

Response

Leads unblocked successfully

success
boolean

Whether the operation was successful

message
string

Response message

unblocked
integer

Number of leads unblocked