MailGenie

Developers · API

Public REST for email templates

Base URL https://api.genieos.pro. Authenticate with a workspace API key. Live programmatic access is on Glow+ — see current GenieOS entitlements.

MethodPath
GET/v1/templates
POST/v1/templates
POST/v1/templates/compose
POST/v1/templates/{key}/render
POST/v1/templates/{key}/send
GET/v1/sends
GET/v1/sequences
POST/v1/sequences/{keyOrId}/enroll

Paths reflect the GenieOS public API shape. Canonical reference: docs.genieos.pro/api#templates. We do not invent endpoints here.

quickstart.shbash
# Authenticate every call with your workspace keyexport GENIEOS_API_KEY=gos_live_… # Compose from a briefcurl -X POST https://api.genieos.pro/v1/templates/compose \  -H "Authorization: Bearer $GENIEOS_API_KEY" \  -H "Content-Type: application/json" \  -d '{"brief":"Order shipped notification","key":"order_shipped"}' # Sendcurl -X POST https://api.genieos.pro/v1/templates/order_shipped/send \  -H "Authorization: Bearer $GENIEOS_API_KEY" \  -H "Content-Type: application/json" \  -d '{"to":"[email protected]","variables":{"orderId":"1042"}}'