DESCRIPTION
This endpoint generates a letter from a master template. A binary header including the file to be uploaded is required.
URL STRUCTURE
https://[hostname]/matter/letter/master-template
METHOD
POST
HEADERS
**Authorization:**
string Base64 [email]:[key]
PARAMETERS
Name | Type | Description |
---|---|---|
master-template | binary | Master template file to use. |
matterId | int | Matter ID template is associated with. |
contactId | int | Contact ID the letter is addressed to. |
siteId | int | Address ID letter is addressed to. |
taskId | int | Task ID template is associated with. |
template-header | string | Header HTML to merge |
template-content | string | Content HTML to merge |
template-sign-off | string | Sign Off HTML to merge |
RETURNS
Returns the downloadable letter.