2️Address Book API

API to fetch all contacts

In order to import Address Book of a logged in user, you should have a valid session and a token.

See here for How to get session key and How to get token

Address Book API

POST https://api.socialinviter.com/api/v2/contacts

Address Book API

Headers

Request Body

{
  "data": {
    "addressbook": [
      {
        "address": [
          {
            "city": "San Jose",
            "country": "US",
            "formattedaddress": "Fallen Leaf Dr, San Jose, CA 94041 US",
            "state": "CA",
            "street": "Fallen Leaf Dr",
            "zip": "94041"
          }
        ],
        "birthday": {
          "day": "11",
          "month": "04",
          "year": "1978"
        },
        "email": [
          "[email protected]",
          "[email protected]"
        ],
        "imageurl": "",
        "name": {
          "first_name": "Johnxxx",
          "last_name": "Smithxxx"
        },
        "notes": "test",
        "phone": [
          "650 324 xxxx",
          "643 922 xxxx"
        ],
        "website": [
          "http://socialinviter.com"
        ]
      }
    ],
    "pagination": {
      "hasMore": true
    },
    "renewedToken": "",
    "service": "google"
  },
  "status": {
    "message": "",
    "type": "success"
  }
}

Only for CSV and VCARD services

POST https://api.socialinviter.com/api/v2/contacts

Address Book (Only for CSV and VCARD services)

Headers

Request Body

{
  "data": {
    "addressbook": [
      {
        "address": [
          {
            "city": "San Jose",
            "country": "US",
            "formattedaddress": "Fallen Leaf Dr, San Jose, CA 94041 US",
            "state": "CA",
            "street": "Fallen Leaf Dr",
            "zip": "94041"
          }
        ],
        "birthday": {
          "day": "11",
          "month": "04",
          "year": "1978"
        },
        "email": [
          "[email protected]",
          "[email protected]"
        ],
        "imageurl": "",
        "name": {
          "first_name": "Johnxxx",
          "last_name": "Smithxxx"
        },
        "notes": "test",
        "phone": [
          "650 324 xxxx",
          "643 922 xxxx"
        ],
        "website": [
          "http://socialinviter.com"
        ]
      }
    ],
    "pagination": {
      "hasMore": true
    },
    "renewedToken": "",
    "service": "google"
  },
  "status": {
    "message": "",
    "type": "success"
  }
}

Last updated