Response Templates API
-
- UpdatedJan 30, 2025
- 4 minutes to read
- Yokohama
- API reference
The Response Templates API provides endpoints to handle records in the Response Templates [sn_templated_snip_note_template] table.
This script include requires the Templated Responses plugin (com.sn_templated_snip), which is activated by default, and runs within the sn_templated_snip
namespace.
For additional information on response templates, see Response templates.
Response Templates - POST /response_templates/get_templates
Returns records from the Response Templates [sn_templated_snip_note_template] table.
URL format
Default URL: /api/sn_templated_snip/response_templates/get_templates
Supported request parameters
Name | Description |
---|---|
None |
Name | Description |
---|---|
None |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the response body. Only supports application/json. |
Content-Type | Data format of the request body. Only supports application/json. |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code | Description |
---|---|
200 | Successful. The request was successfully processed. |
401 | Unauthorized. The user credentials are incorrect or have not been passed. |
500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |