Galon Cloud
Galon API v1

/received-emails

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

GET /received-emails

List received emails

Key carrying mail:send AND job:read. Served only when inbound is open to the account (404 not_found otherwise).

API key (Bearer), on the public API endpoint.

Parameters

NameInTypeDescription
limitqueryinteger
afterquerystringcursor of the next page

Responses

StatusDescriptionBody
200Page of received emails (cursor)object
404not_found (inbound closed)Error
401Key missing or invalidError

Examples

curl

curl -X GET "$GALON_API_BASE/received-emails" \
  -H "Authorization: Bearer $GALON_API_KEY"

Node.js (SDK)

import { Galon } from "galon";

const galon = new Galon(process.env.GALON_API_KEY);
const result = await galon.receivedEmails.list({ limit: 20 });

Python (SDK)

from galon import Galon

galon = Galon()  # reads GALON_API_KEY
result = galon.received_emails.list({"limit": 20})