Gtdagenda.com API

The Gtdagenda API is implemented as a PHP page that accepts GET or POST requests and returns JSON or XML.

API clients must hit the URL http://app.gtdagenda.com/api2.php

All API requests must have a key argument indicating the user, except cmd=login.

LISTING


Methods

MethodExpected parameters

userList

groupid (type: integer, Group id)

inviteList

accepted (type: boolean, Accepted invites, default: 0)

groupList

priorityList

contextList

order (type: integer, List only contexts of this specific order)
lastmodified_since (type: integer, List only contexts modified after this timestamp)
sortby (type: string, Sort by, choose from: id,order,name,nrtasks.)
sortby2 (type: string, Then by, choose from: id,order,name,nrtasks.)
sortby3 (type: string, Then by, choose from: id,order,name,nrtasks.)

getContextDeletedIds

deleted_since (type: integer, Deleted since timestamp)

projectList

projectfilterid (type: integer, Project Filter id)
goalid (type: integer, Goal id)
active (type: integer, Active project, default:1)
someday (type: integer, Someday/Maybe project, default:0)
archive (type: integer, Archived project, default:0)
lastmodified_since (type: integer, List only projects modified after this timestamp)
sortby (type: string, Sort by: goal, priority, name)
sortby2 (type: string, Then by: goal, priority, name)
sortby3 (type: string, Then by: goal, priority, name)

getProjectDeletedIds

deleted_since (type: integer, Deleted since timestamp)

projectFilterList

taskList

taskfilterid (type: integer, Task Filter id)
set_taskfilter_current (type: boolean, If set to 1, task filter will be set as current. Used in conjunction with taskfilterid.)
projectid (type: integer, Project id)
contextid (type: integer, Context id)
goalid (type: integer, Goal id)
categoryid (type: integer, Category id)
priority (type: integer, Priority: 1 to 5)
next (type: boolean, Next Action, use: 1 or 0)
done (type: boolean, Task done, use: 1 or 0)
duemonth (type: integer, Due month, eg: 10)
dueday (type: integer, Due day, eg: 29)
dueyear (type: integer, Due year, eg: 2012)
search (type: string, Search string in task name or note)
lastmodified_since (type: integer, List only tasks modified after this timestamp)
sortby (type: string, Sort by: project, context, priority, status, due, goal, category, next_first, date, name, done)
sortby2 (type: string, Sort by: project, context, priority, status, due, goal, category, next_first, date, name, done)
sortby3 (type: string, Sort by: project, context, priority, status, due, goal, category, next_first, date, name, done)

getTaskDeletedIds

deleted_since (type: integer, Deleted since timestamp)

taskTypeList

subTaskList

taskid (type: integer, required: Yes, Task Id)

taskFilterList

goalList

categoryid (type: integer, Category id)
lastmodified_since (type: integer, List only goals modified after this timestamp)

goalCategoryList

visionwallList

goalid (type: integer, Goal id)

checkGroupList

assignedto (type: integer, Assigned to user)
priority (type: integer, Priority)
checkgrouplabelid (type: integer, Label Id)
contextid (type: integer, Context Id)
projectid (type: integer, Project Id)
goalid (type: integer, Goal Id)
sortby (type: string, Sort by, choose from: id,priority,name,label,goal,project,context.)
sortby2 (type: string, Then by, choose from: id,priority,name,label,goal,project,context.)
sortby3 (type: string, Then by, choose from: id,priority,name,label,goal,project,context.)

checkBoxList

checkgroupid (type: integer, required: Yes, Checkgroup Id)

checkGroupLabelList

fileList

projectid (type: integer, Project id)
contextid (type: integer, Context id)
taskid (type: integer, Task id)

noteList

subject (type: string, required: Yes, What type of notes do you want to list, choose from: goal, project, context, task)
subjectid (type: integer, Subject Id)

customFieldList

subject (type: string, Subject: [project,context,task])
sortby (type: string, Sort by: [id,subject,name])
sortby2 (type: string, Then sort by: [id,subject,name])

pushSubscriptionList

Introduction

Account

Users

Groups

Subscriptions

Priorities

Contexts

Projects

Calendar

Tasks

Goals

Checklists

Files

Notes

Custom Fields

Notifications


LISTING

VIEWING

CREATING

MODIFYING

DELETING


Reference Data