cURL
curl --request DELETE \ --url https://api.puretalk.ai/api/campaigns/{campaign_id}/leads/{to_number} \ --header 'X-API-KEY: <api-key>'
{ "err": false, "msg": "Error message" }
Delete a lead for a campaign based on the ID supplied
Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.
ID of campaign to delete lead
Number to delete lead
Lead deleted
Indicates if the response is an error
false
Message from the API
"Error message"
Was this page helpful?