<?php // GET THE SLICES CHECKLIST $checklist_id = 0; $checklist_data = $trello->request('GET', ('/1/cards/' . $parent[$card_tag]['id'] . '/checklists')); foreach ($checklist_data AS $checklist) { if ($checklist->name == 'Slices') { $checklist_id = $checklist->id; } }