Skip to main content
DELETE
/
v1
/
api
/
voice-campaigns
/
{campaign_id}
/
lead
/
remove
Remove Lead from Voice Campaign
curl --request DELETE \
  --url https://api.voiceaiwrapper.app/v1/api/voice-campaigns/{campaign_id}/lead/remove \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number": "+14155552671",
  "campaign_lead_id": "Vm9pY2VDYW1wYWlnbkxlYWQ6MTIzNA=="
}
'
{
  "status": "success",
  "message": "Lead removed successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
string
required

Identifier of the voice campaign. Required.

Example:

"camp_abc123"

Body

application/json

Lead identifier — provide phone_number or campaign_lead_id

phone_number
string

Lead phone number in E.164 format. Required if campaign_lead_id is not provided.

Example:

"+14155552671"

campaign_lead_id
string

Global ID of the campaign lead record. Required if phone_number is not provided.

Example:

"Vm9pY2VDYW1wYWlnbkxlYWQ6MTIzNA=="

Response

Lead removed successfully. Returns status and confirmation message.

status
string
Example:

"success"

message
string