Delete a contact permanently

Permanently removes a contact from your Customerly account. This action is irreversible
and will delete all associated data including:

  • Contact profile and attributes
  • Conversation history
  • Event tracking data
  • Notes and tags

⚠️ Warning: This action cannot be undone. Make sure you really want to delete this contact.

How to Identify the Contact to Delete

Use any of these identifier formats in the URL path:

1. Customerly Contact ID (numeric):

  • Example: DELETE /contacts/29911301
  • The internal numeric ID from Customerly

2. Custom User ID (prefix: cuid:):

  • Example: DELETE /contacts/cuid:user_123
  • Your own custom identifier for a registered user

3. Custom Lead ID (prefix: clid:):

  • Example: DELETE /contacts/clid:lead_456
  • Your own custom identifier for a lead

4. WhatsApp Number (prefix: wa:):

  • Example: DELETE /contacts/wa:+1234567890
  • Must include country code with + prefix (E.164 format)

5. Email Address (prefix: uem: or lem:):

Response

  • 204 No Content: Contact successfully deleted (empty response body)
  • 404 Not Found: Contact doesn't exist

Example Requests

# Delete by Customerly ID
DELETE /contacts/29911301

# Delete user by custom user ID
DELETE /contacts/cuid:user_abc123

# Delete lead by custom lead ID
DELETE /contacts/clid:lead_xyz789

# Delete by WhatsApp number
DELETE /contacts/wa:+1234567890

# Delete user by email
DELETE /contacts/uem:[email protected]
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Contact identifier to delete. Can be: numeric ID (e.g., '12345'), custom user ID with 'cuid:' prefix (e.g., 'cuid:user_123'), custom lead ID with 'clid:' prefix (e.g., 'clid:lead_456'), WhatsApp with 'wa:' prefix (e.g., 'wa:+1234567890'), or email with 'uem:' or 'lem:' prefix (e.g., 'uem:[email protected]' for users or 'lem:[email protected]' for leads).

Responses
204

Contact successfully deleted. No content is returned in the response body.

401

Authentication credentials are missing or invalid. Please check your API key.

403

You don't have permission to delete contacts. Check your account permissions.

404

Contact not found. The identifier doesn't match any contact in your account. The contact may have already been deleted or never existed.

409

The contact is involved in an ongoing merge. Wait for the merge to complete before deleting it.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here!