API reference
Submissions
Delete what spamex holds for one submission, for data-deletion requests.
DELETE
/v1/submissions/{id} API key Path
id string required The verdict id returned by /v1/classify.
curl -X DELETE https://api.spamex.dev/v1/submissions/3f0c1a9e2b7d4e1f9c3a5b6d7e8f9a0b \
-H "Authorization: Bearer $SPAMEX_KEY"
{ "ok": true, "id": "3f0c1a9e2b7d4e1f9c3a5b6d7e8f9a0b" }
Removes the retained text (if the key retains raw text), the hashed sender identifiers, and your site’s fingerprints for that record. A hashed audit row remains so that usage counts and the shared index stay consistent; it contains nothing that identifies a person.
Only ids from your own key are accepted; anything else is 404. Deleting an id twice returns 404 the second time.