Questions tagged [circuit-sdk]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
139 views

Out signal based on two other our signals

I am trying to write a circuit to prove that a number is within a specified range. I am using the circomlib library : https://github.com/iden3/circomlib/tree/master/circuits comparators.circuit file. ...
  • 227
0 votes
1 answer
63 views

navigateToConversation Function not found

I have tried to implement the navigateToConversation Function into my Programm but it is telling me that the function does not exist. I have allready succesfully signed in and can getConversations as ...
  • 5
0 votes
1 answer
38 views

Getting '500' Error on APIs which were working fine till yesterday

I am getting Http 500 error since yesterday on all the calls to Circuit APIs. Is some deployment work is going on? Please help me out. i have a demo next week.
0 votes
1 answer
37 views

Is there a way to Integrate Circuit into a website similar to iFrames?

I have allready tried to Integrate Circuit using iFrames but that is not allowed by Circuit. <iframe width="1280" height="749" src="http://circuitsandbox.net/#/">&...
  • 5
0 votes
2 answers
28 views

Add two separate messages with circuit rest api in the same subject box

I am trying to write two different messages to the same subject bot after each other. But any time a new subject with the same title is posted. I use the rest api post call and tried this: curl --...
  • 145
0 votes
1 answer
65 views

ServiceNow to Circuit Integration

Use Case scenario : In case of Priority 1 incident in ServiceNow, we need to automate the system to start a conference meeting with pre-determined users in Circuit application. REST API to create ...
  • 1
0 votes
1 answer
23 views

USER.SUBMIT_FORM_DATA: Event filter Fails for UPDATE Outgoing WebHook call

I can register events with USER.SUBMIT_FORM_DATA no problem, also I can Update (PUT) all the other event filters without errors. USER.SUBMIT_FORM_DATA fails when using PUT to update. Reproduced error ...
0 votes
2 answers
21 views

Where can I find the full list of filter event subscription names for Outgoing WebHooks?

So far I have found these: CONVERSATION.CREATE CONVERSATION.UPDATE CONVERSATION.ADD_ITEM USER.SUBMIT_FORM_DATA I'd like to know all available. Thanks!
0 votes
1 answer
48 views

Adding a Bot to Circuit Spaces - "Cannot be added"

When I try to add a Bot to Circuit Spaces I get this message. Is this feature not enabled yet? If it is what do I need to do to add it? Thanks.
0 votes
1 answer
16 views

Is there a mute function for all members?

We are using several chat applications with audio function. Is it possible to mute all members on circuit while talking on other chat application?
  • 11
0 votes
1 answer
110 views

Do the webhook callback urls have to be https?

I'am currently trying to get messages from circuit working in my kotlin environment. Registering a webhook works fine but circuit is not triggering my local webserver. Does it have to be ssl/tls and ...
1 vote
1 answer
398 views

Error while reading access token value from Web API response

I am trying to read Rest Web API response. I am getting error while parsing the data Response Content type : application/json; charset=utf-8 Response: {"access_token":"ot-...
  • 35
0 votes
1 answer
38 views

how to pass multiple type of data to API from server side as formdata?

I want to create circuit (messenger like skype) conversation from my server side code (C#) by calling circuit api. Function : https://circuitsandbox.net/rest/v2/conversations/ I have to pass two ...
  • 35
0 votes
1 answer
34 views

TypeError when trying to client.logon()

I'am currently in the first steps of programming a small Circuit Bot with Node.js. Here's what I got so far: const Circuit = require('../node_modules/circuit-sdk/circuit.js'); //Circuit-Library ...
0 votes
3 answers
2k views

Getting "403" error while registering an Outgoing Webhook via PostMan

URL : https://circuitsandbox.net/rest/v2/webhooks My Headers : Content-Type : application/x-www-form-urlencoded Authorization : Bearer ot-xxxxxxxxxxxx Body : url - Some URl filter - CONVERSATION....
0 votes
1 answer
281 views

How to send a form with just 1 TextBox and 1 Button via Postman

I tried creating a request via postman with below Request Body with 1 input text, { "subject" : "Fill Up the Form", "content" : "Form Data", "formMetaData" : { "id": "myform1234", ...
0 votes
1 answer
59 views

Send image in attachments by URL in Circuit JS SDK

I'm using a Circuit JS SDK and want to send message with attached image. I found on documentation that I should set the item.attachments to File[] object. But how can I do it if I have only image URL (...
0 votes
1 answer
37 views

Is there a way to create a chat box for which the user doesnt have to log in?

What im looking to do is setup a chatbox on my website that allows the user to start a conversation with an employee(who has an circuit account) without the user needing to log in or even having an ...
1 vote
2 answers
82 views

Create conversation via link in CIrcuit

I'm looking for a way to use a link or something like that to give a Circuit users opportunity to start new coversation fast. As example there is a link for Telegram: t.me/{userId} If user click on ...
0 votes
2 answers
40 views

Event "formSubmission" doesn't trigger on Circuit SDK

Circuit client in my app subscribed to event 'formSubmission': client.addEventListener('formSubmission', function (event) Until last days it works fine, but now it doesn't trigger. I tried to test ...
0 votes
1 answer
45 views

Q: client.logon in Google Function expires

We are trying to deploy a bot in a google function as the example of Trivia but using the Client object. It works, but the next day the bot appears as disconnected. How long is a circuit session? Is ...
0 votes
1 answer
53 views

How to develop an interface application to support the Call Control functionality with my USB headset for Circuit Client?

I want to write an interface application to support the call control functionality with my USB headset for Circuit Desktop Client. The communication between the interface application and the USB ...
  • 1
0 votes
1 answer
35 views

Circuit SDK error on method circuit.logon

I'm trying to move my bot for Circuit to production. My app for it uploaded on Azure Web App Service. When I test bot on sandbox it works great. But if I change only config (client_id, client_secred ...
0 votes
1 answer
27 views

What domain should I use in production for Circuit SDK bot's client?

I created a bot in my own sandbox using Circuit JS SDK. self.client = new Circuit.Client({ client_id: config.client_id, client_secret: config.client_secret, ...
0 votes
1 answer
2k views

How to format text for messages sent with the REST API?

Currently I am sending plain text messages, how can I format the text messages I send visibly within the conversation? Do I need to specify a different content-type or send rich or html format somehow ...
0 votes
1 answer
35 views

How to trigger an event when a Circuit Bot is newly added to a Circuit Conversation

Whenever a Circuit Bot is getting added to a Circuit conversation, I want to trigger an event like, 1) A Bot introducing itself. 2) Send some Circuit Forms to get some info etc.
0 votes
2 answers
239 views

How to use a Circuit Bot to publish a message in Circuit Conversation via Rest API Message

I am trying to make post a message in a circuit conversation through a Circuit Bot via Rest API call. Please help.
0 votes
1 answer
51 views

How to get an item by itemId in Circuit JS SDK?

I handle a formSubmission event on Circuit using Circuit JS SDK. Then I update an item that contains this form by using method updateTextItem. I want to save previous value of item.content. But ...
0 votes
1 answer
56 views

Set Bot presence using Node-red

Could someone help me with this newbie question? I'm trying to set the Bot presence using setPresence node, but without success until now. I tried a lot of ways to pass the presence state, but didn't ...
0 votes
1 answer
34 views

Q: How to display radio horizontally and not vertically on Circuit

I am sending a form to Circuit. But I would like the radio buttons to be displayed horizontally and no vertical. ... form.controls.push({ type: 'LABEL', text: '<b&...
0 votes
1 answer
31 views

Submitting a form in Circuit SDK

I'm sending a form by bot to conversation using Circuit SDK. That contains a couple of buttons: client.addTextItem(item.convId, { content: 'Form test', form: { ...
0 votes
1 answer
85 views

Pass subject, content, etc with node.js

How can I pass subject content in the node.js using add.textitem node? I have tried the code below but the bot only sends the content, I never get subject, parentItemId, etc.. var content = { ...
0 votes
1 answer
52 views

How can I access to Circuit sandbox?

I'm unabled to connect to my circuit sandbox for two days already. I tried to request new sandbox but there are error message. Do I missed some changes of how sandbox work now?
0 votes
1 answer
46 views

Slash commands in Circuit

I'm creating a bot using Circuit JS SDK. And I want that users could interact with bot by sending slash commands (eg. "/help"). Does Circuit supports auto-sending command by clicking on command (like ...
0 votes
1 answer
68 views

How to add bot to coversation in Circuit sandbox?

I had created bot app using Circuit SDK and got a sandbox in circuitsandbox.net. To create a bot application I went to "Manage Applications" -> "Custom Apps" and created a bot app. It works great but ...
  • 5
0 votes
1 answer
55 views

Download attachment from Circuit Conversation via REST API

I'd like to download an attachment from the conversation via REST API (Circuit Sandbox) If I query the Conversation Item, I can see the attachments and within that the fileID. Then, if I am logged ...
0 votes
2 answers
61 views

Upload file to Circuit Conversation via REST API - Backend Upload

I am unable to upload a file with the file API I've tried this HTTP request in POSTMAN and Curl with no success and the same result on both: Attach a file (picture) to a conversation Would you be ...
0 votes
1 answer
64 views

How to submit through webhooks a table with borders?

I can post tables but it's without borders.. curl -X POST "https://eu.yourcircuit.com/rest/v2/webhooks/incoming/randomID" -H "accept: application/json" -H "content-type: application/x-www-form-...
0 votes
1 answer
44 views

How to get email of user who send message to bot in Circuit JavaScript SDK?

I'm creating a bot that will receive a messages in Circuit and then send it somewhere else with email of user that printed this message. As example I use xlator-bot https://github.com/circuit/xlator-...
  • 5
0 votes
1 answer
15 views

enableWhiteboard() function getting a response with SERVICE_EXCEPTION error in Circuit SDK

I am trying to enable Whiteboard using Circuit SDK by running enableWhiteboard(callId, viewbox), where callId is the ID of the current call and viewbox an object containing the device's screen width ...
0 votes
1 answer
58 views

How to connect bot to communication application?

Is it possible to connect bot created using Microsoft Bot Framework on .NET Core that deployed in Azure and bot account that was created in Circuit messenger (by Unify)? And if it's possible, what ...
  • 5
1 vote
2 answers
69 views

How to change the background of a whiteboard using the Circuit SDK?

I would like to start a whiteboard using the Circuit SDK (Javascript) and then set the background as an image (load it from a local file or upload one). Is it possible? Does anybody know how to do it? ...
-1 votes
1 answer
23 views

SDK_ERROR At least one participant (other than self is required)

Hi Once I fill the contact form in and press the submit button i'm getting the following error, can anyone provide any assistance? Error creating new complaint Error at ...
0 votes
1 answer
64 views

Why am i getting the following error when trying the run Yarn start

I'm getting the following error and i'm not sure where the problem is, can anyone help please? Server listening at port 3100 Error at new circuit.Error (C:\...
0 votes
2 answers
135 views

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 + ...
0 votes
1 answer
43 views

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 ...
  • 313
0 votes
1 answer
42 views

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 ...
0 votes
0 answers
82 views

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()...
  • 1
0 votes
1 answer
58 views

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 ...
0 votes
1 answer
49 views

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

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 ...