Questions tagged [circuit-sdk]

Questions related to Circuit REST API, JavaScript, Node.js and iOS SDK.

Technical questions related to any of the Circuit SDKs or APIs, or Circuit OAuth 2.0.

Current supports SDKs/APIs are:

JS SDK API reference at https://circuitsandbox.net/sdk/

Examples listed at https://circuit.github.io/ and complete examples apps at https://github.com/circuit

OAuth related info and app registration at https://circuit.github.io/oauth.html

68 questions
0
votes
2 answers

Unify Circuit OAuth2 - Why does Body return empty [] from REST API requests?

When I try REST API's with my oauth 2.0's token I keep getting back empty results [] under the body with OK-200 status codes in the headers. I created a bot and tested the rest API's with curl + basic authentication and also with swagger and they…
0
votes
1 answer

Is it possible to have Circuit messaging SDK running in a native Android app?

I want to use Circuit by Unify messaging features inside a native Android app, being able to send messages, attachments, sharing the video camera, and everything else Circuit does, but with a native Java Android app and not a hybrid one. Is it…
amiltonjr
  • 323
  • 1
  • 3
  • 9
0
votes
1 answer

When will we be able to add avatar to a bot?

As a SDK users, we are using some bots in my team in order to report some things automatically in different channels, but it would help us a lot to be able to differentiate our bots thanks to an avatar. I remember that I talked with Circuit's…
nclsppr
  • 1
  • 1
0
votes
0 answers

Circuit API Issues

I am trying to build a client side app using javascript. I have the client id for the domain 'circuit.siemens.com'. Redirect_uri is set to the localhost:(port no.). When the script hits client.Logon() it opens up a web page for logging in. Once the…
R.Roy
  • 1
0
votes
1 answer

HTML enbedded in a Circuit conversation?

Possible for a Circuit bot to answer with a HTML form embedded in the conversation instead of the standar richt-text-box? I'm thinking in use cases such as quick HR surveys, technical forms to be filled out by on-field technicians...
0
votes
1 answer

Is it possible to write a bot, which can only be added by participants of a Tendant?

Is it possible to write a bot, which can only be added by participants of a Tentant, or only in conversations with the participants of a Tentants? A bot, e.g. Data from business applications should not be available to others :-)
0
votes
1 answer

How to work with guest Circuit users from smartphone apps?

I want to use circuit as a videocall system in a B2C environment in which only the backend call agents are Circuit users (but the end-clients are not!!). The only way I see to establish a videocall would be by creating a new conversation, get the…
0
votes
1 answer

Connect to Circuit API using on-premise company account

How can I connect circuit api with my current company circuit account and use it to send outlook meeting requests? When I try to access via the below javascript code, it keeps on showing login via active directory and after successful login it again…
0
votes
0 answers

REST API 500 Server error posting a message using Circuit by Unify

I'm trying to post a message using the Client-Credentials Grant flow (https://circuit.github.io/oauth.html#client_credentials) But keep getting '{"errorDescription":"n/a","errorCode":"500"}' Which isn't very useful (no useful information in the…
Spencer H
  • 450
  • 1
  • 6
  • 17
0
votes
0 answers

Problem with remoteAudioUrl in call using circuit by unify

we can not listen to the conference earlier if it could. the code fragment used is this client.addEventListener('callStatus', evt => { if (!call || call.callId === evt.call.callId) { output(`callStatus event received. reason:…
0
votes
1 answer

Could not get attachments content from Circuit by XMLHttpRequest

I have a list of attachments' urls and would like to download it in one click. I have loaded the urls as an array in javascript. Then I use XMLHttpRequest to get the file content. However, it seems like the header or authentication is not correct…
0
votes
1 answer

How can I add a message to a topic to a message by using the API?

We have a bot who is connected via node-sdk (https://www.npmjs.com/package/circuit-sdk) with Circuit. We use the following code this.addEventListeners = function addEventListeners(client) { client.addEventListener('itemAdded', function (evt) { …
Jo Hö
  • 3
  • 2
0
votes
1 answer

How to implement OAuth 2 Circuit REST API for Bots?

How to implement OAuth 2 Circuit REST API for Bots? To use the client_id and client_secret. Thank you.
rhys
  • 1
  • 1
0
votes
1 answer

Do Circuit Webhooks have a signature?

Whin setting up webhooks with the Circuit Rest API, how can we ensure that the messages are legitimate? Is there some king of signature that would allow us to trust the message we receive? Thanks
0
votes
1 answer

Circuit SDK - Which scope is needed to post messages with attachments using the SDK?

It seems I can send messages only in case the scope ALL is assigned. If I limit the permissions of the bot to READ_CONVERSATIONS only it is failing with: {"name":"app","hostname":"ldap-01-fth01ti-de","pid":1740,"level":50,"msg":"[APP]: { [Error:…