APIs & Integrations

Kamil_A
Membro

Unable to create Calling API settings

resolver

I'm working on HubSpot calling extension and according to official docs here:  https://github.com/HubSpot/calling-extensions-sdk#get-your-app-ready-for-production

I should be able to send POST request to create calling settings.

 

curl --request POST \
--url 'https://api.hubapi.com/crm/v3/extensions/calling/352688/settings?hapikey=DEV_API_KEY' \
--header 'content-type: application/json' \
--data '{
"name": "VoIP service",
"url": "https://www.test.com",
"height": 350,
"width": 200,
"isReady": true
}'

 

But when I send POST request I'm receiving following error:

 

{"status":"error","message":"Writes to call settings data only accepted on api.hubspot.com","correlationId":"2e2e581b-50f6-49ae-bf9d-afedbcc52742"}

 

How can I send those settings from api.hubspot.com? There is nothing about this requirements in documentation and should be able to POST it from my server. 

 

Thanks! 

0 Avaliação positiva
1 Solução aceita
sduane
Solução
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

Unable to create Calling API settings

resolver

Hi everybody! This issue is now resovled.

I really appreciate you both dropping a note about the Calling Extensions API not working with an application owned by an EU1 portal.

There was actually a bug in this specific service, which is now resolved. Give this API another shot, you should be good to go!

Sorry for the trouble!

Exibir solução no post original

6 Respostas 6
sduane
Solução
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

Unable to create Calling API settings

resolver

Hi everybody! This issue is now resovled.

I really appreciate you both dropping a note about the Calling Extensions API not working with an application owned by an EU1 portal.

There was actually a bug in this specific service, which is now resolved. Give this API another shot, you should be good to go!

Sorry for the trouble!

YaminiBisht
Participante

Unable to create Calling API settings

resolver

The API is working for me as well. Thank you.

Kamil_A
Membro

Unable to create Calling API settings

resolver

Now, it works for me, Thank You!

dennisedson
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

Unable to create Calling API settings

resolver

@Kamil_A ,

Your code is good and should work.  I believe this is an issue associated with the hapikey issue reported here.

I see you are already on that thread.  We are close to deploying a fix

0 Avaliação positiva
YaminiBisht
Participante

Unable to create Calling API settings

resolver

I'm facing the same issue. I've checked the hapikey as well. Also, please provide an update of this thread https://community.hubspot.com/t5/APIs-Integrations/This-hapikey-doesn-t-exist/m-p/491700/highlight/t...

curl --request POST \
--url 'https://api.hubapi.com/crm/v3/extensions/calling/APP_ID/settings?hapikey=eu1-HUBSPOT-API-KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"name":"demo widget","url":"https://twilio.com","height":600,"width":400,"isReady":true}'

{"status":"error","message":"Writes to call settings data only accepted on api.hubspot.com","correlationId":"4f5044c7-113d-4d5a-87eb-fb134c4ab074"}%

0 Avaliação positiva
dennisedson
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

Unable to create Calling API settings

resolver
@YaminiBisht,
I will provide updates I when I get them as I indicated in that thread.
0 Avaliação positiva