API Reference
Simple REST API with Bearer token authentication.
GET
/api/status
Public status endpoint. No authentication required.
{
"status": "online",
"service": "Fuco Mail",
"timestamp": "2026-05-05T20:00:00.000Z"
}
GET
/api/public/inbox/:email
Public inbox endpoint used by the browser inbox viewer. No authentication required.
{
"mailbox": {
"email": "myname@fuco.cc",
"created_at": "2026-05-05T20:00:00.000Z",
"expires_at": "2026-05-12T20:00:00.000Z",
"source": "web"
},
"emails": [
{
"id": 1,
"from_name": "Sender",
"from_email": "sender@example.com",
"subject": "Welcome",
"html": "<p>Hello</p>",
"text": "Hello",
"received_at": "2026-05-05T20:10:00.000Z"
}
]
}
POST
/api/email/generate
Create a new temporary email address.
{
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
{
"prefix": "myname"
}
{
"email": "myname@fuco.cc",
"created_at": "2026-05-05T20:00:00.000Z",
"expires_at": "2026-05-12T20:00:00.000Z"
}
GET
/api/email/inbox/:email
Get all emails for a temporary address that belongs to your API key.
{
"Authorization": "Bearer YOUR_API_KEY"
}
{
"emails": [
{
"id": 1,
"from_name": "Sender",
"from_email": "sender@example.com",
"subject": "Welcome",
"html": "<p>Hello</p>",
"text": "Hello",
"received_at": "2026-05-05T20:10:00.000Z"
}
]
}
DELETE
/api/email/remove/:email
Delete a temporary email address that belongs to your API key.
{
"Authorization": "Bearer YOUR_API_KEY"
}
{
"success": true
}