TEMPLATES
A Template is a pre defined message format which can be called over and again, without requiring to rewrite again.
CREATE TEMPLATE
This endpoint allows you to create a template
POST
https://squadbygtco.com:8080/dashboard/template
Request Body
Name | Type | Description |
---|---|---|
name* | String | Name of the template |
body* | String | Actualt template form to be used continiously |
Client_id* | Integer | Unique Client ID pre-assigned |
description* | String | Description of template |
Sample Request
GET ALL CREATED TEMPLATES
This endpoint allows you to retrieve all created templates
GET
https://squadbygtco.com:8080/dashboard/template/by-client/2?page=1&count=10
UPDATE CREATED TEMPLATES
This endpoint allows you to edit the body of a template.
PATCH
https://squadbygtco.com:8080/dashboard/template/3
Sample Request
DELETE CREATED TEMPLATE
This endpoint allows you to delete a template
DELETE
https://squadbygtco.com:8080/dashboard/bucket/1
Sample Response
Last updated