Create calls API Core - Zendesk Sell NodeJS

Respondido


Publicado 26 de abr. de 2021

Hello,

We would like to integrate an in-house telephony system with Zendesk Sell.
The idea is to record calls made internally in Zendesk Sell in real time (asynchronous) via API CORE => https://developers.getbase.com/docs/rest/reference/calls

I am using the BaseCRM for NodeJS library => https://www.npmjs.com/package/basecrm

How do I create a call in Sell and load this payload.json:
{
"data": {
"user_id": 2344650,
"summary": "Schedule another call.",
"recording_url": "https://api.twilio.com/2010-04-01/Accounts/hAkjsahhd719e/Recordings/RKOHurusajda",
"duration": 115,
"phone_number": "+ 44-208-1234567",
"incoming": false,
"missed": false,
"resource_type": "contact",
"resource_id": 298467616,
"made_at": "2021-04-21T11: 08: 56Z"
}
}

If this is the request.json method, what is the syntax?
If not, could you offer me a solution?

This point is crucial

thank you in advance


0

3

3 comentários

Glad to hear it! :D

0


Thanks for helping :-)

We solved the problem !

0


Hi Amrou,

The basic syntax for a Sell API request is https://api.getbase.com/{api-version}/{resource}, so to create a call that would be a POST call to https://api.getbase.com//v2/calls.json

If you haven't already, I'd strongly recommend checking out the "Get up to speed with the Sell API" section of this page: Zendesk Sell Developers API v2 – especially the sections on Requests, Responses, Errors, and the "Make your first call to the Sell API" section.

0


Entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação