DESCRIPTION
This endpoint generates a letter. A binary header including the file to be uploaded is required.
URL STRUCTURE
https://[hostname]/matter/letter
METHOD
POST
HEADERS
**Authorization:**
string Base64 [email]:[key]
PARAMETERS
Name | Type | Description |
---|---|---|
template | binary | 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. |
language | string | Language the letter is in. |
RETURNS
Returns the downloadable letter.