Documentation

LogIn

This API is used to Add ability to register note, call , meeting , task and assign owner .

Method: Get/Post

Base URL : https://hubbucs.com/site/api/hubb/contact_actions
Mandatory Parameters Sample Description
key 374593457034859 The company account API key, you can get from company settings > API settings
contact_id 789 ID for the existing contact (this can be replaced with the contact_external_id if it is sent).
action action
  • addNote => for register a note
  • registerCall => for register a call
  • addTask => for register a task
  • registerMeeting => for register meeting


Optional Parameters Sample Description
user_token Fjgnu28nfuskfjj Token of the user making this action for authentication (it can be replacing email and password).
email [email protected] email for user to authenticate (this can be replace by user_token)
password 123456 Password for user to authenticate (this can be replace by user_token)
contact_external_id 45655 the external contact id, if exists, the data below will be used to update the contact info (if sent with contact_id) contact_id has a higher priority .

For Calls :

Optional Parameters Sample Description
call_type 1 or 2
  • 1=>Incoming/Inbound
  • 2=Outgoing/Outbound
call_date 2020-06-07 in the format YYYY-mm-dd
call_time 04:06 in the format HH:MM in 24hrs format
call_outcome string if no matching value exists, a new outcome will be added to the custom call outcome under customization section
call_duration 01:02:05 call duration in format HH:MM:SS or MM:SS
from_number 565846899 From Phone number/Caller Phone number
to_number 548655656 to Phone number/Called Phone number
comments string
recording_file file_uploaded Only accepted formats: wav, mp3, mpeg and file size less than 30MB (for a larger size, please contact us to adjust limitations)

For Notes :

Optional Parameters Sample Description
note_title string Title for the note
description string description for the note

For Adding task :

Optional Parameters Sample Description
task_name string Title for the task
note string note for the task
task_type string if no matching value exists, a new task type will be added to the custom task types under customization section
due_date 2020-06-07 in the format YYYY-mm-dd
due_time 04:06 in the format HH:MM in 24hrs format
owner_id
assigned_to_id
who_can_see

For registering a meeting :

Optional Parameters Sample Description
For register Meeting 'Test Title','Test Place',{Google Meeting,Zoom, Viber},'https://link.com','2021-03-31','04:55','2021-03-31','04:55','Comment' meeting_title,meeting_place,meeting_place2,meeting_link,meeting_date,meeting_time,meeting_end_date,meeting_end_time,meeting_notes

Example:


				

Example :

https://hubbucs.com/site/api/hubb/contact_actions?key=12134651Gsuid7349&email=XXXXX&password=XXXXX&action=XXXX

Response :

  1. {
  2. "message":"success",
  3. "contact_id":"562",
  4. "external_id":"92332"
  5. }
  6. ------OR------
  7. {
  8. "error_message":"error message"
  9. }