OrgEmail templatesTemplateidEmails

List drafts written from a template

Every saved draft that followed this template, newest first — the read behind the usage count on the Templates page. Org-scoped twice over: the template must belong to the caller's org, and drafts are constrained to the org's member profiles (generated_emails carries no org_id).

GET
/org/email-templates/{templateId}/emails

Every saved draft that followed this template, newest first — the read behind the usage count on the Templates page. Org-scoped twice over: the template must belong to the caller's org, and drafts are constrained to the org's member profiles (generated_emails carries no org_id).

AuthorizationBearer <token>

API key (sk_live_... prefix). Generate keys in the UI under Settings > API Keys, then send it as Authorization: Bearer sk_live_...

In: header

Path Parameters

templateId*string
Formatuuid

Query Parameters

limit?integer
Default50
Rangevalue <= 200

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://loading/api/v1/org/email-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/emails"
{
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "subject": "string",
      "body": "string",
      "status": "string",
      "created_at": "string",
      "contact_id": "550e8400-e29b-41d4-a716-446655440000",
      "contact_name": "string",
      "contact_title": "string",
      "district_id": "550e8400-e29b-41d4-a716-446655440000",
      "district_name": "string",
      "school_name": "string"
    }
  ]
}
{
  "error": "string",
  "message": "string",
  "statusCode": -9007199254740991
}
{
  "error": "module_required",
  "module": "string",
  "message": "string",
  "contact": "string"
}
{
  "error": "string",
  "message": "string",
  "statusCode": -9007199254740991
}