curl --request POST \
--url https://api.kadoa.com/v4/templates/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>"
}
'{
"error": false,
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"latestVersion": 123,
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"workflowCount": 123,
"hasPrompt": true,
"hasSchema": true,
"hasValidation": true,
"hasNotifications": true
}
}Create a new template for reusing prompts, schemas, and settings across workflows
curl --request POST \
--url https://api.kadoa.com/v4/templates/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>"
}
'{
"error": false,
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"latestVersion": 123,
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"workflowCount": 123,
"hasPrompt": true,
"hasSchema": true,
"hasValidation": true,
"hasNotifications": true
}
}API key for authentication
Body