Documentation

LogIn

This API is used to get contact information in the CRM .

Method: Get/Post

Base URL : https://hubbucs.com/site/api/hubb/contact_info
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
contact_id 789 ID for the existing contact .


Example:


				

Example :

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

Response :

  1. {
  2. "message":"success",
  3. "data":
    • {
    • "headertab": {
      • {
      • "id": "35",
      • "personal_picture": "/site/images/NoImageMale.png",
      • "fullname": "Patri ck",
      • "title": " Jackson",
      • "company_name": "New ",
      • "email": [email protected],
      • "phone": "2297845634",
      • "owner": "SamY",
      • "last_activity_dateTime": null,
      • "creation_date": "03-09-2021 04:36 am"
      • },
      • "tagstab": {
      • "tag1",
      • "tag2",
      • },
      • "taskstab": {
        • {
        • "name": "Mohamed Hassab",
        • "owner": "SamY",
        • "due_date": "02-12-2021 02:45 am"
        • }
        • },
      • "dealtab": {
        • {
        • "name": "asdasdasd",
        • "stage": "Contact Made",
        • "owner": "SamY",
        • "pic": "/site/images/NoImageMale.png",
        • "closing_date": "03-05-2021 10:12 am",
        • "amount": "$232.00"
        • },
        • {
        • "name": "asdasdasd",
        • "stage": "Contact Made",
        • "owner": "SamY",
        • "pic": "/site/images/NoImageMale.png",
        • "closing_date": " 10:12 am",
        • "amount": "232.00"
        • },
        • },
    • "socialtab": {
      • "facebook": https://facebook.com,
      • "twitter": https://twitter.com,
      • "linkedin": https://linkedin.com,
      • "pinterest": https://pinaterest.com,
      • "googlePlus": https://googlePlus.com,
      • "skype": https://skype.com,
      • "instagram": https://instegram.com
    • },
    • "basictab": {
      • "firstname": "Patri",
      • "lastname": "ck",
      • "title": "",
      • "company": "New ",
      • "contact_source": "0",
      • "contact_type": "0",
      • "referral_name": Jack ,
      • "referral_email": [email protected],
      • "owner": "2",
      • "who_can_see": "1",
      • "collaborators_readonly": "{",
        • "2",
        • "3",
      • "collaborators": "3,5",
      • "sources": example,
      • "contact_types": {
        • {
        • "id": "23",
        • "name":"Current customer"
        • },
        • {
        • "id": "25",
        • "name":"Potential customer"
        • },
      • },
      • "owners": {
        • {
        • "id": "3",
        • "name":"2nd user"
        • },
        • {
        • "id": "4",
        • "name":"3rd user"
        • },
      • },
      • "collaboratorsOnlyArr": {
        • {
        • "id": "3",
        • "name":"2nd user"
        • },
        • {
        • "id": "4",
        • "name":"3rd user"
        • },
      • },
      • "collaboratorsFullArr": {
        • {
        • "id": "3",
        • "name":"2nd user"
        • },
        • {
        • "id": "4",
        • "name":"3rd user"
        • },
      • },
      • "who_can_see_arr": {
        • {
        • "1": "Everyone in my Organization ",
        • "2":"Only me"
        • "3":"Anyone in owner Workgroup"
        • },
      • },
      • "emailArr": {
        • "usage_types": {
        • "1": "Main",
        • "2": "Work",
        • "3": "Personal",
        • "4": "Other"
        • }
      • "email": [email protected]
      • "usage_type": 2
      • },
      • "phoneArr": {
        • "usage_types": {
        • "1": "Main",
        • "2": "Work",
        • "3": "Personal",
        • "4": "Other"
        • }
        • "types": {
        • "1": "Phone",
        • "2": "Mobile",
        • "3": "Fax",
        • }
      • "phone_type": 1
      • "usage_type": 2
      • "phone": 229578435
      • },
      • "addressesArr": {
        • "types": {
        • "1": "Main",
        • "2": "Work",
        • "3": "Personal",
        • "4": "Billing"
        • "5": "Other"
        • }
      • "address_type": 4
      • "address": 22903 new yourk st
      • "city": New York
      • "state": FL
      • "country_id": 32
      • "zipcode": 98754
      • },
      • },
    • "other_infotab": {
      • "tax_id": 23423,
      • "birthdate": 12-09-1999,
      • "country_id": "3",
      • "countries": {
        • {
        • "id": "22",
        • "name": "Afghanistan"
        • },
        • {
        • "id": "154",
        • "name": "Albania"
        • },
        • },
        • "description": Test
        • ,
        • "remarks": Test,
        • "summary": Test,
        • "sector_id": "51",
        • "sectors": {
          • {
          • "id": "51",
          • "name": "Agricultural production and livestock"
          • },
          • {
          • "id": "52",
          • "name": "Architecture"
          • },
          • {
          • "id": "53",
          • "name": "Art and culture"
          • },
          • },
          • "UnsubscribedCheck": "1"
          • },
          • "related_contactstab": {
            • "related_ids": {,
              • {
              • "id": "51",
              • "id": "52 "
              • },
            • "relationsArr": {,
              • {
              • "id": "52",
              • "name": "Architecture"
              • },
              • {
              • "id": "53",
              • "name": "Art and culture"
              • },
            • }
            • }
            • }
            • ------OR------
            • {
            • "error_message":"error message"
            • }