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.

Projects


Methods

MethodExpected parameters

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)

projectView

id (type: integer, required: Yes, Project id)
set_recently_viewed (type: boolean, If set to 1, project will be added to the recently viewed list. Default: 0)

projectCreate

name (type: string, required: Yes, Project name)
goalid (type: integer, Goal Id)
priority (type: integer, Project priority, 1-5)
duemonth (type: integer, Due month, eg: 10)
dueday (type: integer, Due day, eg: 29)
dueyear (type: integer, Due year, eg: 2012)
active (type: boolean, Active project, default: 1)
someday (type: boolean, Someday/Maybe project, default: 0)
archive (type: boolean, Archived project, default: 0)
done (type: boolean, Project closed, default: 0)
note (type: string, Project note)

projectEdit

id (type: string, required: Yes, Project Id)
name (type: string, Project name)
goalid (type: integer, Goal Id)
priority (type: integer, Project priority)
duemonth (type: integer, Due month)
dueday (type: integer, Due day)
dueyear (type: integer, Due year)
active (type: boolean, Active project)
someday (type: boolean, Someday/Maybe project)
archive (type: boolean, Archived project)
done (type: boolean, Project closed)
note (type: string, Project note)

projectDelete

id (type: integer, required: Yes, Project id)

projectDuplicate

id (type: integer, required: Yes, Project id)
name (type: string, Project name)
goalid (type: integer, Goal id)
withtasks (type: boolean, Copy with tasks, default: 1)

getProjectDeletedIds

deleted_since (type: integer, Deleted since timestamp)

projectFilterList

projectFilterView

id (type: integer, required: Yes, Filter id)

projectFilterCreate

name (type: string, required: Yes, Filter name)
shared (type: boolean, Shared filter, default: 0)
category (type: integer, Category id)
goal (type: integer, Goal id)
opened (type: integer, Opened)
closed (type: integer, Closed)
priorityrange (type: integer, Priority range)
priority (type: integer, Priority)
done (type: integer, Project closed, default:0)
active (type: integer, Active project, default:1)
someday (type: integer, Someday/Maybe project, default:0)
archive (type: integer, Archived project, default:0)
sortby (type: integer, Sort by)
sortby2 (type: integer, Then by)
sortby3 (type: integer, Then by)
limit (type: integer, Projects per page, use 0 for unlimited.)

projectFilterEdit

id (type: integer, required: Yes, Filter id)
name (type: string, Filter name)
shared (type: boolean, Shared filter, default: 0)
category (type: integer, Category id)
goal (type: integer, Goal id)
opened (type: integer, Opened)
closed (type: integer, Closed)
priorityrange (type: integer, Priority range)
priority (type: integer, Priority)
done (type: integer, Project closed, default:0)
active (type: integer, Active project, default:1)
someday (type: integer, Someday/Maybe project, default:0)
archive (type: integer, Archived project, default:0)
sortby (type: integer, Sort by)
sortby2 (type: integer, Then by)
sortby3 (type: integer, Then by)
limit (type: integer, Projects per page, use 0 for unlimited.)

projectFilterDelete

id (type: integer, required: Yes, Filter id)

Introduction

Account

Users

Groups

Subscriptions

Priorities

Contexts

Projects

Calendar

Tasks

Goals

Checklists

Files

Notes

Custom Fields

Notifications


LISTING

VIEWING

CREATING

MODIFYING

DELETING


Reference Data