Inbox
Clear inbox
DELETE /api/v1/inbox?to=<local-part>Deletes all emails for a specific address. Useful for cleaning up between test runs.
Query parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
to | Yes | string | Local part of the inbox address (e.g. signup for signup@acme.mailoven.com) |
Example
bash
curl -X DELETE -H "Authorization: Bearer mo_your_key" \
"https://mailoven.com/api/v1/inbox?to=signup"Response
Returns 204 No Content on success, regardless of whether emails existed.
Errors
| Status | Error |
|---|---|
400 | 'to' is required. |
400 | Invalid local part. Only alphanumeric characters and _-+. are allowed. |