Inbound
View and manage received inbound emails
3 endpoints
Endpoints
| Method | Path | Description |
| GET | /v1/inbound | GET /v1/inbound - List inbound emails for the authenticated account |
| GET | /v1/inbound/{id} | GET /v1/inbound/:id - Get a single inbound email by ID |
| DELETE | /v1/inbound/{id} | DELETE /v1/inbound/:id - Delete a single inbound email |
GET /v1/inbound
GET /v1/inbound - List inbound emails for the authenticated account
Parameters
| Name | In | Type | Required | Description |
page | query | integer | No | Page number (default: 1) |
per_page | query | integer | No | Items per page (default: 25) |
Responses
| Status | Description |
| 200 | Paginated list of inbound emails |
| 401 | Unauthorized |
Example
curl -X GET https://api.euromail.dev/v1/inbound \
-H "X-EuroMail-Api-Key: em_live_..."
import { EuroMail } from "@euromail/sdk";
const euromail = new EuroMail({ apiKey: "em_live_..." });
const result = await euromail.listInbounds();
from euromail import EuroMail
client = EuroMail(api_key="em_live_...")
result = client.list_inbounds()
use euromail::EuroMail;
let client = EuroMail::new("em_live_...");
let result = client.list_inbounds().await?;
client := euromail.NewClient("em_live_...")
result, err := client.ListInbounds(ctx)
GET /v1/inbound/{id}
GET /v1/inbound/:id - Get a single inbound email by ID
Parameters
| Name | In | Type | Required | Description |
id | path | string | Yes | Inbound email ID |
Responses
| Status | Description |
| 200 | Inbound email details |
| 401 | Unauthorized |
| 404 | Not found |
Example
curl -X GET https://api.euromail.dev/v1/inbound/{id} \
-H "X-EuroMail-Api-Key: em_live_..."
import { EuroMail } from "@euromail/sdk";
const euromail = new EuroMail({ apiKey: "em_live_..." });
const result = await euromail.getInbound("id_...");
from euromail import EuroMail
client = EuroMail(api_key="em_live_...")
result = client.get_inbound("id_...")
use euromail::EuroMail;
let client = EuroMail::new("em_live_...");
let result = client.get_inbound("id_...").await?;
client := euromail.NewClient("em_live_...")
result, err := client.GetInbound(ctx, "id_...")
DELETE /v1/inbound/{id}
DELETE /v1/inbound/:id - Delete a single inbound email
Parameters
| Name | In | Type | Required | Description |
id | path | string | Yes | Inbound email ID |
Responses
| Status | Description |
| 204 | Inbound email deleted |
| 401 | Unauthorized |
| 404 | Not found |
Example
curl -X DELETE https://api.euromail.dev/v1/inbound/{id} \
-H "X-EuroMail-Api-Key: em_live_..."
import { EuroMail } from "@euromail/sdk";
const euromail = new EuroMail({ apiKey: "em_live_..." });
const result = await euromail.deleteInbound("id_...");
from euromail import EuroMail
client = EuroMail(api_key="em_live_...")
result = client.delete_inbound("id_...")
use euromail::EuroMail;
let client = EuroMail::new("em_live_...");
let result = client.delete_inbound("id_...").await?;
client := euromail.NewClient("em_live_...")
result, err := client.DeleteInbound(ctx, "id_...")