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.

Contexts


Methods

MethodExpected parameters

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.)

contextView

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

contextCreate

name (type: string, required: Yes, Context name)
order (type: integer, Context order, default: 10)
color (type: string, Context background color)
bordercolor (type: string, Context border color)
textcolor (type: string, Context text color)
latitude (type: double, Context latitude)
longitude (type: double, Context longitude)
address (type: string, Context address)
visibility (type: string, Context visibility, choose from: everyone, private or group.)
groupid (type: integer, Group Id, used in conjunction with visibility type 'group'.)

contextEdit

id (type: integer, required: Yes, Context id)
name (type: string, Context name)
order (type: integer, Context order)
color (type: string, Context background color)
bordercolor (type: string, Context border color)
textcolor (type: string, Context text color)
latitude (type: double, Context latitude)
longitude (type: double, Context longitude)
address (type: string, Context address)

contextDelete

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

getContextDeletedIds

deleted_since (type: integer, Deleted since timestamp)

Introduction

Account

Users

Groups

Subscriptions

Priorities

Contexts

Projects

Calendar

Tasks

Goals

Checklists

Files

Notes

Custom Fields

Notifications


LISTING

VIEWING

CREATING

MODIFYING

DELETING


Reference Data