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

Parameters: set_collection_template
NameTypeDescription
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
curl -X PUT https://cotlet.dev/api/v1/bluedot/templates/template_8c41d2/collections/collection_8c41d2/template \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("bluedot", "set_collection_template", {"collection_id":"collection_8c41d2","template_id":"template_8c41d2"})
Node.js
const result = await cotlet.call('bluedot', 'set_collection_template', {"collection_id":"collection_8c41d2","template_id":"template_8c41d2"});
CLI
cotlet call bluedot set_collection_template --data '{"collection_id":"collection_8c41d2","template_id":"template_8c41d2"}'

Example response

JSON

{
  "collection_id": "c_17f8b3d6",
  "title": "Sales demos",
  "default_template_id": "t_41c7a9f3",
  "enforced": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.