Skip to content

List tasks

GET
/api/v1/tasks
curl --request GET \
--url https://digize.com/api/v1/tasks \
--header 'x-api-key: <x-api-key>'

Tasks, open ones first and the soonest due first, then done ones. Narrow by owner, status, contact, company or opportunity. Returns up to 1,000 and the total. Follow-ups are crm.followUps.list.

Needs the crm:read permission.

ownerId
string
>= 1 characters <= 64 characters
status
Array<string>
Allowed values: open done
contactId
string
>= 1 characters <= 64 characters
companyId
string
>= 1 characters <= 64 characters
opportunityId
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
rows
required
Array<object>
object
id
required
string
title
required
string
notes
required
string
dueAt
required
Any of:
string format: date-time
priority
required
string
Allowed values: low normal high
ownerId
required

The member it’s for, by user id, who’s told when it’s due.

string | null
contact
required
Any of:
object
id
required
string
name
required
string
company
required
Any of:
object
id
required
string
name
required
string
opportunity
required
Any of:
object
id
required
string
name
required
string
status
required
string
Allowed values: open done
doneAt
required
Any of:
string format: date-time
doneBy
required
string | null
dueFiredAt
required
Any of:
string format: date-time
createdByName
required
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
total
required
number

Example

{
"rows": [
{
"priority": "low",
"status": "open"
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}