sdkDeterministic
List crm tasks
pipeline.listCrmTasks
Read canonical tasks. Default 50, max 100. Follow nextCursor for more.
Parameters
workspaceId
string
No description.
prospectId
string
No description.
status
string
No description.
pending | done
due
string
No description.
overdue | upcoming | undated
cursor
string
No description.
limit
number
No description.
Example
TypeScripttypescript
await pipeline.listCrmTasks({})
Response
Success response schemajson schema
{"type": "object","properties": {"tasks": {"type": "array","items": {"type": "object","properties": {"id": {"type": "string"},"workspaceId": {"type": "string"},"prospectId": {"type": "string"},"title": {"type": "string"},"dueDate": {"type": ["string","null"]},"status": {"type": "string","enum": ["pending","done"]},"createdBy": {"type": "string"},"createdAt": {"type": ["string","null"]},"updatedAt": {"type": ["string","null"]},"prospectName": {"type": ["string","null"]},"companyName": {"type": ["string","null"]}},"required": ["id","workspaceId","prospectId","title","dueDate","status","createdBy","createdAt","updatedAt"]}},"nextCursor": {"type": ["string","null"]}},"required": ["tasks","nextCursor"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.