question

keith-stephens7892 avatar image
keith-stephens7892 asked Phong Vu answered

How to setup the "Create App" sandbox for a c# web application

I want to use the Ringcentral API for c#, in a web application, but how am I suppose to set up the sandbox "Create App"?

Does the Platform Type need to be "Browser" or "Server/web".

Currently all I want to do is read incoming and outgoing calls, for all users in our company and report how many calls each person did.

I am having issues with my web app, and I can't seem to even log in using RC help docs at https://github.com/ringcentral/ringcentral-csharp-client


Thank,

K.

developer sandbox
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered
Hi Keith,

When you create a RingCentral app from your developer account, if you don't have a sandbox setup, the system will automatically create a sandbox for you with a company main number. You will then receive an email (to the email inbox you used to signup with RingCentral) with the activation information. You must activate your sandbox account and set the password for it. After that, you can get back to your developer account and copy the sandbox credentials (sandbox server url, app key and app secret), keep them in a safe place so you can use them later in your code.

When you create your app, you can choose the platform type based on how you let the user to login and to get authenticated, and how you will call RingCentral APIs (call the APIs from client code or from server code).

If you don't require a user to login your RingCentral account (always login with your designated credentials) to be able to use your app, you can simply choose the "Server-only (No UI)" type. Then you can call RingCentral APIs from the backend code.

If you let your users to login with their own credentials (let's say you have 10 employees and each with their own number), then choose the "Server/Web" if you want to call RC APIs from the backend code or choose "Browser" if you want to call RC APIs from the client code.

Based on what you said above, I think you can simply choose the "Server-only (No UI)" for the platform type. Then implement code to login and to call RingCentral APIs from the backend.

Hope this helps.
+ Phong
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys