question

Ravi J avatar image
Ravi J asked Anirban answered

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?

getting started
1 |1500

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Anirban avatar image
Anirban answered

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

1 |1500

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys