POST /public/v1/templates
This operation allows you to create a new template by providing the necessary template details.
Servers
- https://api.pandadoc.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
fields[] |
Array | No |
A comma-separated list of additional fields to include in the response. |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
name |
String | No |
The name of the template. |
url |
String | No |
Secure (HTTPS) and publicly accessible URL to the PDF document. |
metadata |
Object | No |
You can pass arbitrary data in the key-value format to associate custom information with a template. This information is returned in any API requests for the template details by id. |
folder_uuid |
String | No |
The ID of the folder where the created template should be stored. |
owner |
Object | No |
You can set an owner of a template as an |
owner.email |
String | No | |
owner.membership_id |
String | No | |
tokens[] |
Array | No |
Create or initialize multiple CUSTOM variables with their values using tokens/values list. Template's predefined variables are read-only. Any attempts to do so will be ignored. |
tokens[].name |
String | Yes | |
tokens[].value |
String | Yes |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.