> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeplo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE Delete Contact

> Delete a single contact or bulk delete contacts.

## Delete Contact

`DELETE /api/contacts/:id`

Delete a single contact from the system.

### Headers

**Cookie** `string` *required*

Session cookie (login via POST /api/auth/login)

```bash cURL theme={null}
curl -X DELETE https://zeplo.ai/api/contacts/5 \
  -H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
```

### Path parameters

**id** `integer` *required*

Contact ID.

```json Response theme={null}
{
  "success": true,
  "message": "Contact deleted successfully"
}
```

***

## Bulk delete contacts

`DELETE /api/contacts-bulk`

Delete multiple contacts at once.

```bash cURL theme={null}
curl -X DELETE https://zeplo.ai/api/contacts-bulk \
  -H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw" \
  -H "Content-Type: application/json" \
  -d '{ "contactIds": [5, 6, 7, 8, 9] }'
```

### Request body

**contactIds** `integer[]` *required*

Array of contact IDs to delete.

```json Response theme={null}
{
  "success": true,
  "message": "5 contacts deleted successfully",
  "deletedCount": 5
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.