v1
latestOpenAPI 3.1.02026-07-2617125852.3 KBEmail
Delete email
Requires one of the following scopes: emails:delete, emails:all, all:delete, all:all
delete/api/v2/emails/{id}
Path parameters
idstring uuid required
Example:019f94cd-ae87-7e0e-9b5a-a41e45d2b365
The ID of the item to delete
Request body
{"stackTrail":"paths:/api/v2/emails/{id}:delete:requestBody:content:application/json:schema","oasType":"schema","type":"unknown","example":null}
Response
The deleted Email
Example response
{
"id": "019f94cd-83dc-7a33-bb74-3dab6085f19c",
"timestamp_created": "2026-07-24T15:45:24.444Z",
"timestamp_email": "2026-07-24T15:45:24.444Z",
"message_id": "<example123@mail.gmail.com>",
"subject": "Re: Your inquiry",
"from_address_email": "sender@example.com",
"to_address_email_list": "recipient@example.com",
"cc_address_email_list": "cc@example.com",
"bcc_address_email_list": "bcc@example.com",
"reply_to": "replyto@example.com",
"body": {
"text": "This is a test email",
"html": "<p>This is a test email</p>"
},
"organization_id": "019f94cd-83dc-7a33-bb74-3dac64c56a27",
"campaign_id": "019f94cd-83dc-7a33-bb74-3daded4fd3d0",
"subsequence_id": "019f94cd-83dc-7a33-bb74-3daeb18d1836",
"list_id": "019f94cd-83dc-7a33-bb74-3daf4f6d254a",
"lead": "jondoe@example.com",
"lead_id": "019f94cd-83dc-7a33-bb74-3db0055cb74b",
"eaccount": "eaccount-123",
"ue_type": 3,
"step": "step-123",
"is_unread": 1,
"reminder_ts": "2026-07-24T15:45:24.444Z",
"ai_interest_value": 0.75,
"ai_assisted": 1,
"is_focused": 1,
"thread_id": "019f94cd-83dc-7a33-bb74-3db1037a0918",
"content_preview": "This is a preview of the email content.",
"attachment_json": {
"files": [
{
"filename": "attachment",
"size": 1927,
"type": "text/css",
"url": "https://cdn.instantly.ai/example-attachment/",
"error": null
}
]
},
"ai_agent_id": "019f94cd-83dc-7a33-bb74-3db29c8a7faf"
}