Read an email template draft
lnkdrp_get_email_template_draftReads one email template draft: who added it (addedBy, owner, agent), its state, draftVersion (send it back to update the same draft), baseVersion (the live version it was based on), liveVersion, stale (the template moved past its base), changedFields, expiresAt (14 days after its last save), canPublish, canDiscard and reviewUrl (the app's review page). fieldChanges lists what it changes against its base (name, description, format, align, subject, tags) and readText the subject and body as a reader sees them with [-removed-] and {+added+} markers; when stale, againstLive is the same against the live version. publishers says who may publish it; sentCount and activeCampaigns are the template's real sends and the active campaigns that use it. An ended draft keeps its record but not its text. draftId left out: this person's own open draft, else the only one; several open is validation with details.code draft_ambiguous listing them. A template this person may not see is not_found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | No | The draft's id, from lnkdrp_list_drafts (kind template) or an update's draft.id. Left out: this person's own open draft, else the only one. | |
| templateId | Yes | Email template id (24 hex chars), from lnkdrp_list_email_templates. |