/api/v1/agenda
GET
/api/v1/agenda
const url = 'https://example.com/api/v1/agenda?limit=20&state=due';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/agenda?limit=20&state=due' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
cursor
string
state
string
sourceType
Any of:
string
Array<string>
locationId
string format: uuid
from
string format: date
to
string format: date
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
items
required
Array<object>
object
key
required
string
sourceType
required
string
sourceId
required
string format: uuid
kind
required
string
state
required
string
locationId
required
string format: uuid
subject
required
object
type
required
string
id
required
string format: uuid
name
required
string
path
required
string
shortCode
string | null
title
required
string
dueOn
required
string | null
dueValue
required
string | null
unit
required
string | null
actions
required
Array<string>
counts
required
object
overdue
required
integer
due
required
integer
expiring
required
integer
next_cursor
required
string | null
Example
{ "items": [ { "sourceType": "schedule", "kind": "due", "state": "upcoming", "subject": { "type": "thing" }, "actions": [ "complete" ] } ]}