Documentation

LogIn

This API is used to add a new task .
if the task found (unique by id), the info for the contact will be updated not adding a new record.

Method: Get/Post

Base URL : https://hubbucs.com/site/api/add_task
Mandatory Parameters Sample Description
key 374593457034859 The company account API key, you can get from company settings > API settings
email [email protected] email for user to authenticate
password 123456 Password for user to authenticate


Optional Parameters Sample Description
task_id 876566 the task id, if exists, the data below will be used to update the task info
task_name Task Name name for the new task, if a task already exists, the task will be updated
task_type 5 The type for the task, if a task with the type already exists, the task will be updated
who_can_see 1 The type for the task, if a task with the type already exists, the task will be updated
owner 1 The owner for the task, if a task with the owner already exists, the task will be updated
assigned_to_id 1 The assignee for the task, if a task with the assigned_to_id already exists, the task will be updated
company_id 1 The company id for the task, if a task with the company_id already exists, the task will be updated
new_company_id 1 1 for new company create,0 for exist one
company_name Test The company name for the task, in case of create new company
contact_id 1 The contact id for the task, if a task with the contact_id already exists, the task will be updated
new_contact_id 1 1 for new contact create,0 for exist one
contact_name Test The contact name for the task, in case of create new contact
deal_id 1 The deal id for the task, if a task with the deal_id already exists, the task will be updated
new_deal_id 1 1 for new deal create ,0 for exist one
deal_name Test The deal name for the task, in case of create new deal
due_date 2022-04-02 The due date for the task
due_time 04:00 am The due date for the task
task_progress 5 The Progress for the task {1 => no status, 2 => not started, 3 => in progress, 4 => on hold , 5 => Completed , 6 => Cancelled }
date_accomplished 2022-04-02 The date_accomplished for the task
time_accomplished 04:00 am The time_accomplished for the task
note new note Note
comments new comment Comment
total_duration_in_minutes 58 Total Minutes
tags new customer, campaign1, call me Tags you want to add to the contact to use it later on, add as many tags , split by ","

Example:


				

Example :

https://hubbucs.com/site/api/add_task?key=12134651Gsuid7349&email=XXXXX[&Optional_parameter1=XXXXX&Optional_parameter2=XXXXX]

Response :

  1. {
  2. "message":"success",
  3. }
  4. ------OR------
  5. {
  6. "error_message":"error message"
  7. }