F
FastEmail

Developer API

Integrate FastEmail directly into your applications.

API Overview

The FastEmail API provides a RESTful interface to manage your email accounts, domains, and aliases programmatically. All requests uses standard HTTP methods and return JSON responses.

Base URL: https://fastemail.net/api/

Authentication

Authenticate your API requests by including your API key in the Authorization header.

Authorization: Bearer sk_live_51J9z...

Popular Endpoints

GET /system/status

Check the operational status of the API and mail servers.

// Response 200 OK
{
  "status": "operational",
  "version": "1.0.0",
  "timestamp": "2024-12-26T10:30:00Z",
  "services": {
    "smtp": "up",
    "imap": "up",
    "webmail": "up"
  }
}
                        
GET /account/me

Retrieve current account information.

// Response 200 OK
{
  "id": "usr_8923409",
  "email": "[email protected]",
  "plan": "professional",
  "storage": {
    "total": 53687091200,
    "used": 8053063680
  }
}