← All API sections

Inbound

View and manage received inbound emails

3 endpoints
Menu

Endpoints

MethodPathDescription
GET/v1/inboundList inbound emails for the authenticated account
GET/v1/inbound/{id}Get a single inbound email by ID
DELETE/v1/inbound/{id}Delete a single inbound email

GET /v1/inbound

List inbound emails for the authenticated account

Parameters

NameInTypeRequiredDescription
pagequeryintegerNoPage number (default: 1)
per_pagequeryintegerNoItems per page (default: 25)

Responses

StatusDescription
200Paginated list of inbound emails
401Unauthorized

Example

curl -X GET https://api.euromail.dev/v1/inbound \
  -H "Authorization: Bearer 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 a single inbound email by ID

Parameters

NameInTypeRequiredDescription
idpathstringYesInbound email ID

Responses

StatusDescription
200Inbound email details
401Unauthorized
404Not found

Example

curl -X GET https://api.euromail.dev/v1/inbound/{id} \
  -H "Authorization: Bearer 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 a single inbound email

Parameters

NameInTypeRequiredDescription
idpathstringYesInbound email ID

Responses

StatusDescription
204Inbound email deleted
401Unauthorized
404Not found

Example

curl -X DELETE https://api.euromail.dev/v1/inbound/{id} \
  -H "Authorization: Bearer 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_...")