Create a new template
Create and configure a new template by providing the necessary details in the request body.
POST
Parameters
Body
application/jsonName
REQUIRED
Language
System
REQUIRED
Action_type
REQUIRED
Title
REQUIRED
Project
Content
REQUIRED
Content_type
REQUIRED
Values
| Status code | Description |
|---|---|
| 200 | Successfully created resource with its unique identifier |
| 400 | Bad request error - the request contains invalid parameters or malformed data |
| 500 | Internal server error - an unexpected error occurred on the server |
cURL
curl -L -X POST \"https://blockv-labs.io/messages/templates" \-H 'Accept: application/json'
Response
{"id": "string"}
json
{"type": "object","required": ["id"],"properties": {"id": {"type": "string","description": "Unique identifier of the created resource"}}}