List upcoming tasks
Changed onLists tasks across all pipelines and boxes. By default, returns incomplete tasks assigned to the current user before tomorrow in the user's timezone, which includes today's and overdue tasks. Use userKeys, pipelineKey, includeCompleted, direction, limit, and sortOrder to page through other agenda slices.
Request
- Base URLhttps://api.streak.com/api
- URLhttps://api.streak.com/api/v2/tasks
- AuthHTTP bearer
Query parameters
Agenda direction. Accepted values are desc, past, asc, and future. Defaults to desc.
Whether completed tasks should be included in the returned agenda.
Maximum number of tasks to return per assigned user.
Key for the pipeline to filter tasks to. Omit to search across all visible pipelines.
Opaque 30-digit sort cursor returned as task.sortOrder. Omit to use tomorrow at local midnight as the cursor boundary.
User keys whose assigned tasks should be returned. Omit to return tasks assigned to the current user.
Response
OK
Example response
{
"results": [
{
"creationDate": 1646870400000,
"lastSavedTimestamp": 1646870400000,
"lastStatusChangeDate": 1646870400000,
"dueDate": 1646870400000,
"actions": [
{
"contact": {
"creationDate": 1646870400000,
"versionTimestamp": 1646870400000,
"lastSavedTimestamp": 1646870400000,
"lastEnrichmentTimestamp": 1646870400000,
"contactLinks": [
{
"creationTimestamp": 1646870400000
}
],
"orgLinks": [
{
"creationTimestamp": 1646870400000
}
]
}
}
]
}
]
}Changes
- info
endpoint added
- info