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).
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).
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
uuidQuery Parameters
50value <= 200Response 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
}Update an email template PATCH
Partial update; at least one field is required (an empty body is rejected with 400 rather than silently doing nothing).
List the organization's contact records GET
Every record this organization has, newest first. Records are org-scoped and unowned — every member sees all of them regardless of who added them. Optionally scope to a parent district or school, or look one up by corpus contact id.