Set collection template
Set the default notes template of a collection and optionally enforce it.
PUT https://cotlet.dev/api/v1/bluedot/templates/{template_id}/collections/{collection_id}/template
write Confirm
Needs editing permission on the collection. With enforce on, every member's new meetings in that collection use this template. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| collection_id string required | string | Collection ID from list_collections. |
| template_id string required | string | Notes template ID from list_templates. |
| enforce boolean | boolean | true turns on Enforce notes template: new meetings use it whatever each member prefers. Existing notes are not regenerated. |
Request
curl -X PUT https://cotlet.dev/api/v1/bluedot/templates/template_8c41d2/collections/collection_8c41d2/template \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("bluedot", "set_collection_template", {"collection_id":"collection_8c41d2","template_id":"template_8c41d2"}) const result = await cotlet.call('bluedot', 'set_collection_template', {"collection_id":"collection_8c41d2","template_id":"template_8c41d2"}); cotlet call bluedot set_collection_template --data '{"collection_id":"collection_8c41d2","template_id":"template_8c41d2"}' Example response
{
"collection_id": "c_17f8b3d6",
"title": "Sales demos",
"default_template_id": "t_41c7a9f3",
"enforced": true
}