API quickstart

Generate your first email draft through the API.

Create an API key, call the generation endpoint, and review the returned message before using it in a campaign.

Request example

curl -X POST https://generate.folderly.com/api/v1/emails/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "persona": "VP of Sales at B2B SaaS company",
    "offer": "deliverability-aware cold email creation",
    "goal": "book a 15-minute call"
  }'

Step 1

Create an API key

Sign in, open account API keys, and create a key for server-side use.

Step 2

Call the endpoint

Send persona, offer, and goal context to `/api/v1/emails/generate`.

Step 3

Review the draft

Check the returned subject and body before saving, sending, or adding volume.

Folderly Email Generator API Quickstart | Folderly