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.

Goals


Methods

MethodExpected parameters

goalList

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

goalView

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

goalCreate

name (type: string, required: Yes, Goal name)
priority (type: integer, Goal priority 1-5)
timeline (type: string, required: Yes, Goal timeline, 3m, 3y etc)
categoryid (type: integer, Category Id)
active (type: boolean, Active goal, default: 1)
someday (type: boolean, Someday/Maybe goal, default: 0)
archive (type: boolean, Archived goal, default: 0)
done (type: boolean, Goal done, default 0)
note (type: string, Goal note)
color (type: string, Goal background color)
bordercolor (type: string, Goal border color)
textcolor (type: string, Goal text color)

goalEdit

id (type: integer, required: Yes, Goal Id)
name (type: string, Goal name)
priority (type: integer, Goal priority)
timeline (type: string, Goal timeline)
categoryid (type: integer, Category Id)
active (type: boolean, Active goal)
someday (type: boolean, Someday/Maybe goal)
archive (type: boolean, Archived project)
done (type: boolean, Goal done)
note (type: string, Goal note)
color (type: string, Goal background color)
bordercolor (type: string, Goal border color)
textcolor (type: string, Goal text color)

goalDelete

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

goalCategoryList

goalCategoryCreate

name (type: string, required: Yes, Category name)
order (type: integer, Category sort order)

goalCategoryEdit

id (type: integer, required: Yes, Category id)
name (type: string, Category name)
order (type: integer, Category sort order)

goalCategoryDelete

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

visionwallList

goalid (type: integer, Goal 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