Update an email template
Partial update; at least one field is required (an empty body is rejected with 400 rather than silently doing nothing).
Partial update; at least one field is required (an empty body is rejected with 400 rather than silently doing nothing).
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
uuidRequest Body
application/json
Template display name
1 <= length <= 255Guidance for when to auto-pick this template
1 <= lengthExample email subject the AI mimics
1 <= lengthExample email body the AI mimics
1 <= lengthOptional additional instruction rules
Whether this template is available for use (defaults to true)
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://loading/api/v1/org/email-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"org_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "string",
"when_to_use": "string",
"example_subject": "string",
"example_body": "string",
"instructions": "string",
"is_active": true,
"created_by": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "string",
"updated_at": "string",
"usage_count": 0
}
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}{
"error": "module_required",
"module": "string",
"message": "string",
"contact": "string"
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}Get an email template GET
Previous Page
List drafts written from a template GET
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).