Documentation
LogIn- Getting started
-
CRM API
- Adding/Updating Contacts
- List Filter/Search Contacts
- Contact Timeline Actions
- Contact Info
- Contact Actions
- Adding/Updating Company
- List Filter/Search Companies
- Company Timeline Actions
- Company Info
- Update Company Info
- Add Company Timeline Action
- Adding/Updating Deals
- List Filter/Search Deals
- List Filter/Search Deals Board View
- Drag/Drop Deals between Stages
- Deal WIN/LOSS Reasons
- Owners
- Countries
- Stages
- Funnels
- Lead Scores
- Deal Timeline Actions
- Deal Info
- Update Deal Info
- Add Deal Timeline Action
- List Filter/Search Activities/Tasks
- Add/Update Activity/Tasks
- Contact Messages
- List User Messages
- Delete Actions
-
Phone API
- Send SMS
- Search Phone Numbers
- Order Phone Number
- List Active Phone Numbers
- Disconnect Phone Number
- List Available Audio Files
- Block Phone Number
- Unblock Phone Number
- Check Number Block Status
- List Phone Sub Accounts
- Add/Edit Sub Account
- Attach Phone Number to Sub Account
- List Phone Numbers Per Sub Account
- System API
- Service/Tickets API
- API - Premium Edition
- Callbacks
- Resellers API
- Enabler API
- SMS Error Codes
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/hubb/add_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/hubb/add_task
Mandatory Parameters | Sample | Description |
---|---|---|
key | 374593457034859 | The company account API key, you can get from company settings > API settings |
newcontact@url.com | 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/hubb/api/add_task?key=12134651Gsuid7349&email=XXXXX[&Optional_parameter1=XXXXX&Optional_parameter2=XXXXX]
Response :
- {
- "message":"success",
- }
- ------OR------
- {
- "error_message":"error message"
- }