Admin - Task Templates

Get all task templates

Retrieve all task templates with optional filtering. Admin only.

get/api/admin/task-templates

Request

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

Query parameters

cohort_typestring

Filter by cohort type

phase'cohort_setup' | 'cohort_prep' | 'live_delivery' | 'wrap_renewal'

Filter by task phase

template_type'base' | 'group_coaching' | 'one_on_one' | 'workshop'

Filter by template type

parent_onlyboolean

If true, only return parent templates (exclude subtask templates)

is_activeboolean

Filter by active status

Response

List of task templates

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
job_title_namestring nullable
parent_task_titlestring nullable

Title of parent template if this is a subtask template

Changes

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