templates
Preview template by hash
Changed onReturns a template preview for the given hash
post/api/v1/templates/preview/{hash}
Request
- Base URLhttps://demo.invoiceninja.com
- Authnone declared. Required headers: X-API-TOKEN, X-Requested-With
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
hashstring required
The template hash
Headers
X-API-TOKENstring required
Example:TOKEN
The API token to be used for authentication
X-Requested-Withstring required
Example:XMLHttpRequest
Used to send the XMLHttpRequest header
Request body
object required
Response
Template preview response
Changes
- info
endpoint added
- info