Skip to content

Tasks

Follow-ups with owners, due dates, types and priorities.

10 endpoints. Every request needs an X-Api-Key header.

List tasks

GET/api/v1/tasks/

Parameters

cursorquery, string
Opaque pagination cursor (follow next/previous URLs).
Response fields 15
created_sourceenum
created_source_labelstring
idstring (uuid)
organisationstring (uuid)
titlestring
typestring
descriptionstring
due_datestring (date)
prioritystring
linked_entity_typestring
linked_entity_idstring
statusenum
completed_atstring (date-time)
created_atstring (date-time)
updated_atstring (date-time)
curl "https://api.vivrecrm.com/api/v1/tasks/" \
  -H "X-Api-Key: $VIVRE_API_KEY"
Response 200
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "created_source": "api_key",
      "created_source_label": "",
      "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
      "organisation": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
      "title": "Kaveri Foods renewal",
      "type": "",
      "description": "Annual plan for the Hyderabad team.",
      "due_date": "2026-10-31",
      "priority": "",
      "linked_entity_type": "",
      "linked_entity_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
      "status": "pending",
      "completed_at": "2026-10-17T09:30:00+05:30",
      "created_at": "2026-10-17T09:30:00+05:30",
      "updated_at": "2026-10-17T09:30:00+05:30"
    }
  ]
}

Create task

POST/api/v1/tasks/

Body

titlestringRequired
typestringRequired
descriptionstring
due_datestring (date), can be null
prioritystring
assignee_idstring, can be null
linked_entity_typestring, can be null
linked_entity_idstring, can be null
statusenum
One of pending, in_progress, done, cancelled.
Response fields 15
created_sourceenum
created_source_labelstring
idstring (uuid)
organisationstring (uuid)
titlestring
typestring
descriptionstring
due_datestring (date)
prioritystring
linked_entity_typestring
linked_entity_idstring
statusenum
completed_atstring (date-time)
created_atstring (date-time)
updated_atstring (date-time)
curl -X POST "https://api.vivrecrm.com/api/v1/tasks/" \
  -H "X-Api-Key: $VIVRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Kaveri Foods renewal", "type": "", "description": "Annual plan for the Hyderabad team.", "status": "pending"}'
Response 201
{
  "created_source": "api_key",
  "created_source_label": "",
  "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "organisation": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "title": "Kaveri Foods renewal",
  "type": "",
  "description": "Annual plan for the Hyderabad team.",
  "due_date": "2026-10-31",
  "priority": "",
  "linked_entity_type": "",
  "linked_entity_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "status": "pending",
  "completed_at": "2026-10-17T09:30:00+05:30",
  "created_at": "2026-10-17T09:30:00+05:30",
  "updated_at": "2026-10-17T09:30:00+05:30"
}

Retrieve a task

GET/api/v1/tasks/{public_id}/

Parameters

public_idpath, stringRequired
The record's public id (a UUID).
Response fields 15
created_sourceenum
created_source_labelstring
idstring (uuid)
organisationstring (uuid)
titlestring
typestring
descriptionstring
due_datestring (date)
prioritystring
linked_entity_typestring
linked_entity_idstring
statusenum
completed_atstring (date-time)
created_atstring (date-time)
updated_atstring (date-time)
curl "https://api.vivrecrm.com/api/v1/tasks/7c9e6679-7425-40de-944b-e07fc1f90ae7/" \
  -H "X-Api-Key: $VIVRE_API_KEY"
Response 200
{
  "created_source": "api_key",
  "created_source_label": "",
  "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "organisation": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "title": "Kaveri Foods renewal",
  "type": "",
  "description": "Annual plan for the Hyderabad team.",
  "due_date": "2026-10-31",
  "priority": "",
  "linked_entity_type": "",
  "linked_entity_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "status": "pending",
  "completed_at": "2026-10-17T09:30:00+05:30",
  "created_at": "2026-10-17T09:30:00+05:30",
  "updated_at": "2026-10-17T09:30:00+05:30"
}

Replace a task

PUT/api/v1/tasks/{public_id}/

Parameters

public_idpath, stringRequired
The record's public id (a UUID).

Body

titlestringRequired
typestringRequired
descriptionstring
due_datestring (date), can be null
prioritystring
assignee_idstring, can be null
linked_entity_typestring, can be null
linked_entity_idstring, can be null
statusenum
One of pending, in_progress, done, cancelled.
Response fields 15
created_sourceenum
created_source_labelstring
idstring (uuid)
organisationstring (uuid)
titlestring
typestring
descriptionstring
due_datestring (date)
prioritystring
linked_entity_typestring
linked_entity_idstring
statusenum
completed_atstring (date-time)
created_atstring (date-time)
updated_atstring (date-time)
curl -X PUT "https://api.vivrecrm.com/api/v1/tasks/7c9e6679-7425-40de-944b-e07fc1f90ae7/" \
  -H "X-Api-Key: $VIVRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Kaveri Foods renewal", "type": "", "description": "Annual plan for the Hyderabad team.", "status": "pending"}'
Response 200
{
  "created_source": "api_key",
  "created_source_label": "",
  "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "organisation": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "title": "Kaveri Foods renewal",
  "type": "",
  "description": "Annual plan for the Hyderabad team.",
  "due_date": "2026-10-31",
  "priority": "",
  "linked_entity_type": "",
  "linked_entity_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "status": "pending",
  "completed_at": "2026-10-17T09:30:00+05:30",
  "created_at": "2026-10-17T09:30:00+05:30",
  "updated_at": "2026-10-17T09:30:00+05:30"
}

Update a task

PATCH/api/v1/tasks/{public_id}/

Parameters

public_idpath, stringRequired
The record's public id (a UUID).

Body

titlestringRequired
typestringRequired
descriptionstring
due_datestring (date), can be null
prioritystring
assignee_idstring, can be null
linked_entity_typestring, can be null
linked_entity_idstring, can be null
statusenum
One of pending, in_progress, done, cancelled.
Response fields 15
created_sourceenum
created_source_labelstring
idstring (uuid)
organisationstring (uuid)
titlestring
typestring
descriptionstring
due_datestring (date)
prioritystring
linked_entity_typestring
linked_entity_idstring
statusenum
completed_atstring (date-time)
created_atstring (date-time)
updated_atstring (date-time)
curl -X PATCH "https://api.vivrecrm.com/api/v1/tasks/7c9e6679-7425-40de-944b-e07fc1f90ae7/" \
  -H "X-Api-Key: $VIVRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Kaveri Foods renewal", "type": "", "description": "Annual plan for the Hyderabad team.", "status": "pending"}'
Response 200
{
  "created_source": "api_key",
  "created_source_label": "",
  "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "organisation": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "title": "Kaveri Foods renewal",
  "type": "",
  "description": "Annual plan for the Hyderabad team.",
  "due_date": "2026-10-31",
  "priority": "",
  "linked_entity_type": "",
  "linked_entity_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "status": "pending",
  "completed_at": "2026-10-17T09:30:00+05:30",
  "created_at": "2026-10-17T09:30:00+05:30",
  "updated_at": "2026-10-17T09:30:00+05:30"
}

Delete a task

DELETE/api/v1/tasks/{public_id}/

Parameters

public_idpath, stringRequired
The record's public id (a UUID).
curl -X DELETE "https://api.vivrecrm.com/api/v1/tasks/7c9e6679-7425-40de-944b-e07fc1f90ae7/" \
  -H "X-Api-Key: $VIVRE_API_KEY"

Mark complete

POST/api/v1/tasks/{public_id}/complete/

Parameters

public_idpath, stringRequired
The record's public id (a UUID).

Body

contentstring
Text of the "task completed" activity on the linked record. Default "Task completed: <title>". Used only when the task was not already done.
Response fields 15
created_sourceenum
created_source_labelstring
idstring (uuid)
organisationstring (uuid)
titlestring
typestring
descriptionstring
due_datestring (date)
prioritystring
linked_entity_typestring
linked_entity_idstring
statusenum
completed_atstring (date-time)
created_atstring (date-time)
updated_atstring (date-time)
curl -X POST "https://api.vivrecrm.com/api/v1/tasks/7c9e6679-7425-40de-944b-e07fc1f90ae7/complete/" \
  -H "X-Api-Key: $VIVRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content": "Called, wants a demo on Friday."}'
Response 200
{
  "created_source": "api_key",
  "created_source_label": "",
  "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "organisation": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "title": "Kaveri Foods renewal",
  "type": "",
  "description": "Annual plan for the Hyderabad team.",
  "due_date": "2026-10-31",
  "priority": "",
  "linked_entity_type": "",
  "linked_entity_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "status": "pending",
  "completed_at": "2026-10-17T09:30:00+05:30",
  "created_at": "2026-10-17T09:30:00+05:30",
  "updated_at": "2026-10-17T09:30:00+05:30"
}

Bulk complete

POST/api/v1/tasks/bulk-complete/

Body

task_idsarray of string (uuid)Required
Task public ids. Any value that is not a UUID is a 400. Tasks not found, not visible to the caller or not open are skipped.
Response fields 1
completed_countinteger
Open tasks (pending or in_progress) marked done.
curl -X POST "https://api.vivrecrm.com/api/v1/tasks/bulk-complete/" \
  -H "X-Api-Key: $VIVRE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"task_ids": ["7c9e6679-7425-40de-944b-e07fc1f90ae7"]}'
Response 200
{
  "completed_count": 1
}

Task counts for the list header

GET/api/v1/tasks/stats/

Response fields 8
totalinteger
mineinteger
Assigned to the caller.
openinteger
Status pending or in_progress.
pendinginteger
overdueinteger
Due before today (organization's date) and still open.
due_todayinteger
high_priorityinteger
Priority high or urgent.
completed_7dinteger
Completed in the last 7 days.
curl "https://api.vivrecrm.com/api/v1/tasks/stats/" \
  -H "X-Api-Key: $VIVRE_API_KEY"
Response 200
{
  "total": 1,
  "mine": 1,
  "open": 1,
  "pending": 1,
  "overdue": 1,
  "due_today": 1,
  "high_priority": 1,
  "completed_7d": 1
}

Ids of every task the list shows

GET/api/v1/tasks/ids/

"Select all N matching". Takes the list's own query (search, filter (compound JSON), status, type, priority, assignee, dates and ordering), and answers the public ids in the list's order, up to 10,000, with the total. Pass them in batches to the bulk actions.

Response fields 3
countinteger
Every match, which may be more than limit.
idsarray of string (uuid)
Public ids of the first limit matches, in the list's order.
limitinteger
The most ids answered: 10,000.
curl "https://api.vivrecrm.com/api/v1/tasks/ids/" \
  -H "X-Api-Key: $VIVRE_API_KEY"
Response 200
{
  "count": 1,
  "ids": [
    "7c9e6679-7425-40de-944b-e07fc1f90ae7"
  ],
  "limit": 1
}