Introduction
With Tasks, site admins can efficiently create and manage tasks on a site. This enables site admins to organize and prioritize their daily activities, enhancing their customer relationship management. Tasks include activities such as follow up calls or emails, scheduling meetings with clients, tracking steps for customer onboarding, and more.
The Tasks API allows you to:
- Create and update tasks with the option to set a due date or to link the task to a contact.
- Count the total amount of tasks, or count the amount of tasks based on provided filters. For example, you can count the number of tasks that are linked to a specific contact.
- Retrieve tasks.
- Prioritize your tasks by adjusting the display order.
- Delete tasks you no longer need.
Before you begin
It is important to note the following before you start to code:
- The
dueDate
field only accepts dates formatted as a JS Date object. This field doesn't work with functional testing as JSON doesn't accept Date objects.
To use the Tasks API, import tasks
from wix-crm.v2
:
1
Permissions information
Functions in the Tasks API are restricted and only run if you elevate permissions using the wix-auth
elevate()
function.
Warning: Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.
Terminology
- Task: A specific activity, action, or assignment that needs to be completed by a site admin.
- Reminder notification: A notification that is sent if the task has a due date. The reminder is sent the day before the due date and on the due date.
Introduction
APIs in Developer Preview are subject to change and are not intended for use in production.
Send us your suggestions for improving this API. Your feedback is valuable to us.
Permissions information
Functions in the Tasks API are restricted and only run if you elevate permissions using the wix-auth
elevate()
function.
Warning: Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.
This service allows you to manage a site's tasks. Use tasks to organize and prioritize your work with Ascend by Wix.
To use the Tasks API,
import tasks
from wix-crm.v2:
1