question

Ravi Jain avatar image
Ravi Jain asked ·

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?

contact
1 |1000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary 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

Share
1 |1000 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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