
Anonymous Community User asked a question.
Creating autotask with the api
Hi. I'm trying to make a script that should create an autotask when a certain statusfield is set. But I can't figure out why the task is'nt created in Podio at all. Please help me out. My code is here: Podio::setup("CLIENT_ID","CLIENT_SECRET"); try { Podio::authenticate('app', array('app_id' =>API_ID, 'app_token' =>"APP_TOKEN" )); $task = array( 'text' => 'Dette er en opgave fra API', 'description' => 'Description of task goes here' ); PodioTask::create($task); regards Søren Nørup