List tasks
/api/v1/tasksNeeds a key with the full scope.
Soonest due first. With no scope the list is the pending set, which is
usually what a worklist wants; ask for completed explicitly.
Parameters
Query
qstringMatches subject or body.
scopeenumDefaults to pending when omitted.
one of
mineoverduedue_todayupcomingcompletedprioritystringassigned_to_iduuidlimitintegerdefault 25Rows per page.
cursorstringOpaque; take it from the previous response's
page.next_cursor.
Response · 200
dataobject[]requiredShow fieldsHide fields
iduuidsubjectstringprioritystringnullabledue_atdate-timenullablecompleted_atdate-timenullableoverduebooleantaskable_typestringnullabletaskable_iduuidnullabletaskable_labelstringnullableThe linked record rendered as text, so a row needs no second fetch.
assigned_toobjectnullableA seat on the account, as referenced from other records.
Show fieldsHide fields
iduuidnamestringnullableemailstringnullable
pageobjectrequiredThe cursor for the list beside it. Re-send the same request with
?cursor=<next_cursor>whilehas_moreis true.next_cursorisnullon the last page.Show fieldsHide fields
next_cursorstringrequirednullablehas_morebooleanrequiredlimitintegerrequired
Responses
401Missing or invalid Bearer token403Policy denied or account has no owner429Rate limit exceeded
curl -X GET 'https://YOUR-CELL.lydira.com/api/v1/tasks' \
-H 'Authorization: Bearer sek_YOUR_API_KEY'{
"data": [
{
"id": "9d2f7c3a-1b4e-4a7d-8e51-2c0f6b9a4d18",
"subject": "Confirm the hotel allocation",
"priority": "high",
"due_at": "2026-03-14T09:30:00Z",
"completed_at": "2026-03-14T09:30:00Z",
"overdue": true,
"taskable_type": "Trip",
"taskable_id": "9d2f7c3a-1b4e-4a7d-8e51-2c0f6b9a4d18",
"taskable_label": "string",
"assigned_to": {
"id": "9d2f7c3a-1b4e-4a7d-8e51-2c0f6b9a4d18",
"name": "Ayşe Yılmaz",
"email": "ayse@example.com"
}
}
],
"page": {
"next_cursor": "MjAyNi0wMy0xNFQwOTozMDowMC4wMDAwMDBafDk0MQ",
"has_more": true,
"limit": 25
}
}