API · Contacts
Delete Contact
Delete a contact by ID or URL-encoded email address (requires full access). Related cleanup may finish after the response.
DELETE
/contacts/{id}Full accessRequest parameters
| Parameter | Type | Description |
|---|---|---|
idpath · required | string | Contact id or URL-encoded email (case-insensitive). |
Request example
Set OPENSEND_BASE_URL=https://api.example.com and OPENSEND_API_KEY=os_replace_me on your server.
bash
curl -X DELETE "$OPENSEND_BASE_URL/contacts/YOUR_id" \
-H "Authorization: Bearer $OPENSEND_API_KEY"Response
200 · application/json. Example IDs stand for IDs returned by your installation.
json
{
"object": "contact",
"contact": "example",
"deleted": true
}Behavior and errors
id accepts a contact ID or a URL-encoded email address; email lookup is case-insensitive. The response carries the deleted contact’s ID in contact, not id.
Use a full-access credential. Resource IDs belong to your team; an unknown or foreign resource returns 404. See authentication, errors, rate limits, and compatibility for the shared contract.