Skip to main content
POST

Bulk archive contacts

Scope:contacts:contacts.write
https://api.holded.com/api/v2/contacts/bulk-archive

Archives multiple contacts in a single request. Archived contacts are hidden from default listings but can be retrieved with the `archived` filter. Contacts that do not exist or are already archived are silently skipped, and so are those a user with limited access to contacts cannot see. If any contact ID belongs to a different account the request fails with 400.

Request body

object
contact_ids[]string[]required

List of contact IDs to archive (24-char hex ObjectId each)

Request

python
import requests

url = "https://api.holded.com/api/v2/contacts/bulk-archive"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "contact_ids": [
        "string"
    ]
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())

Responses

Success responses

204Resource deleted

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
429Rate limit exceededapplication/json