Admin - Task Templates

Create a task template

Create a new task template. Admin only.

post/api/admin/task-templates

Request

  • Base URL
    https://api.production.yourmedley.com
  • Auth
    none declared

Request body

cohort_typestring required
template_type'base' | 'group_coaching' | 'one_on_one' | 'workshop'
phase'cohort_setup' | 'cohort_prep' | 'live_delivery' | 'wrap_renewal'
sub_groupstring
milestone_namestring required
task_group_namestring required
task_titlestring required
task_descriptionstring
job_title_idstring uuid
parent_template_idstring uuid

Parent template ID for creating subtask templates

anchor_type'cohort_start' | 'cohort_end' | 'orientation' | 'coach_kickoff' | 'session' | 'final_session' | 'midpoint' | 'endpoint'
anchor_session_numberinteger
days_offsetinteger
default_priority'low' | 'medium' | 'high' | 'urgent'
milestone_orderinteger
task_group_orderinteger
task_orderinteger
is_requiredboolean

Response

Task template created

idstring uuid
cohort_typestring
template_type'base' | 'group_coaching' | 'one_on_one' | 'workshop'

Determines which cohorts this template applies to

phase'cohort_setup' | 'cohort_prep' | 'live_delivery' | 'wrap_renewal' nullable
sub_groupstring nullable

Sub-grouping within a phase (e.g., "Partner Alignment", "Sessions (1st Half)")

milestone_namestring
task_group_namestring
task_titlestring

Task title. Can include {session_number} placeholder for session-specific tasks

task_descriptionstring nullable
job_title_idstring uuid nullable
parent_template_idstring uuid nullable

Reference to parent template for subtask templates

anchor_type'cohort_start' | 'cohort_end' | 'orientation' | 'coach_kickoff' | 'session' | 'final_session' | 'midpoint' | 'endpoint'
anchor_session_numberinteger nullable
days_offsetinteger

Days offset from anchor (negative = before, positive = after)

default_priority'low' | 'medium' | 'high' | 'urgent'
milestone_orderinteger
task_group_orderinteger
task_orderinteger
is_requiredboolean
is_activeboolean
created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.