Skip to main content
New Participant
June 25, 2020
Question

Add new contact with API

I want to develop application in java where it can add new contact in address book with all it's related details. I need a backend RC api to do that task for me and will be called from my application.

What is the most relevant RC api to do that?

    1 reply

    The First Step
    June 25, 2020

    There is an endpoint "Creates personal user contact " for creating new contact:

    https://developers.ringcentral.com/api-reference/External-Contacts/createContact

    Sample:

    1. POST /restapi/v1.0/account/~/extension/~/address-book/contact
    2.  
    3. {
    4.   "firstName": "Charlie",
    5.   "lastName": "Williams",
    6.   "businessPhone": "+15551234567",
    7.   "businessAddress": {
    8.     "street": "20 Davis Dr.",
    9.     "city": "Belmont",
    10.     "state": "CA",
    11.     "zip": 94002
    12.   }
    13. }


    ref: https://forums.developers.ringcentral.com/questions/1054/add-a-contact-name-number-to-contacts-via-api.html