Add a single task to a checklist
POST
/api/v1/checklists/templates/{template_id}/items/
const url = 'https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items/';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items/ \ --header 'Authorization: Bearer <token>'Add one task item to an existing checklist.
Body: { text, source, required?, is_critical?, help_text? } source: “manual” | “checker” | “record”
Returns the new item including its task_id.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”template_id
required
Template Id
string format: uuid
Responses
Section titled “Responses”Created
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}