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.
| Method | Path | Notes |
|---|---|---|
| GET | /v1/templates | List draft and published email templates. |
| POST | /v1/templates | Create a blank template draft. |
| POST | /v1/templates/compose | Genie composes an email from a brief and persists a draft. |
| POST | /v1/templates/{key}/render | Preview rendered HTML against variables (no send). |
| POST | /v1/templates/{key}/send | Transactional / campaign send (idempotent). |
| GET | /v1/sends | List recent sends with filters and cursor pagination. |
| GET | /v1/sequences | List published sequences. |
| POST | /v1/sequences/{keyOrId}/enroll | Enrol a contact in a sequence. |
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"}}'