Integrating your Restful CRM with 3CX: A video walkthrough

Most companies nowadays use a CRM system in order to manage their contacts efficiently. By integrating your CRM system with your PBX you obtain a number of benefits such as: the ability to launch calls to contacts with a single click, customer records pop-up when an inbound call occurs and all calls are logged in your CRM.

However, not all CRM systems integrate with your PBX out of the box. What happens in such a scenario? With the 3CX Restful API you can integrate your CRM with 3CX in a matter of minutes.

How? Watch the video below and find out.

To add support for a new CRM, you will need the following information. It can usually be found in the CRM documentation, if in doubt you can contact the vendor.

Step 1: Obtain the required information

1. Create an account with opencnam https://www.opencnam.com/register. Used for this example, you can also use another CRM.
2. Authentication Mechanism is Basic and requires the SID and Auth_headers to be concatenated with a : in between – you can see authentication examples and full API documentation in the Developer section of the opencnam website https://www.opencnam.com/developer/documentation example:
auth_header = "Authorization: Basic " + base64_encode(SID + ":" + TOKEN)

cnam = http_get(“https://api.opencnam.com/v3/phone/+16786318356”, headers=[auth_header])

3. REST URL format requires the account_sid and auth_token which you can get from opencnam dashboard Example:
'https://api.opencnam.com/v3/phone/NUMBER?account_sid=ACf4dc0110fc504fe3ba8a2c90540baf8d&auth_token=FA4301479ac0a24c87de46a70f48fb6195'
4. URL to query the name belonging to a number +16786318356 would look something like this:
https://api.opencnam.com/v3/phone/+16786318356?format=json&casing=title&mobile=location

Step 2 – Create a CRM template
For more information about the XML description and how to integrate your CRM check out the below guides:

We look forward to receiving your comments!

Discuss this article with our community:
2 Comments